Question by
Servietsky · Oct 15, 2018 at 02:09 PM ·
unity 5networkingphoton
Destroy PhotonView component but not GameObject
I'm making a character that becomes a ragdoll when he dies. So I want to destroy its Photon components and keep the GameObject. I've tried using an RPC that destroys the components with Destroy()
but it generate warnings because I have not used PhotonNetwork.Destroy()
. When I use PhotonNetwork.Destroy()
it destroys the whole game object. I've tried looking in the doc but I didn't see any method available for my problem. So is there any method that I didn't find, or should I use Destroy()
and keep the warnings?
Comment