Removing PhotonViews via code
Options
Stekon
✭
Hello!
I have been having an issue where I need to remove a PhotonView from a GameObject. I can't just use gameobject.removeComponent because it needs to be with any other PhotonViews syncing with it (so I guess any other PhotonViews with the same ViewID).
Is there any way to to do this?
Thanks!
Edit: I realize that this was posted in discussions, and that this is the wrong section to post this in. I do not know how to delete this post, but will be reposting this as a question. Sorry!
I have been having an issue where I need to remove a PhotonView from a GameObject. I can't just use gameobject.removeComponent because it needs to be with any other PhotonViews syncing with it (so I guess any other PhotonViews with the same ViewID).
Is there any way to to do this?
Thanks!
Edit: I realize that this was posted in discussions, and that this is the wrong section to post this in. I do not know how to delete this post, but will be reposting this as a question. Sorry!
0
Comments
-
Hi @Stekon,
Thank you for choosing Photon!
No worries.
I'm closing this discussion since there is a duplicate one now.1
This discussion has been closed.