Callback for when Photon network destroys game object?
Options
Is there a way to tell when Photon destroys a gameobject? I tried using unity OnDestroy() but it seems to be called many frames later (if at all).
Why? I am attaching another object to the photon instantiated objects (photonview), and I need to de-attach it if this happens to I can reattach when the gameobject is re-instantiated.
I hope that makes sense. Thanks!
Why? I am attaching another object to the photon instantiated objects (photonview), and I need to de-attach it if this happens to I can reattach when the gameobject is re-instantiated.
I hope that makes sense. Thanks!
0