photon pun destroy object code example Example: photon how to destroy object PhotonNetwork.Destroy(gameObject);