Question About PhotonNetwork.Destroy()
Options
I ran into an issue where I had too many photonviews due to some effects being instantiated into the scene. I hadn't got around to cleaning up. So now I have them being destroyed using PhotonNetwork.Destroy().
Question I have is, once destroyed it should clear up the view id right? I ask because after it's destroyed the next thing instantiated gets the next view id, so say the one I destroyed was 5, then the new one is 6. Does view ids continue to go up no matter what, but when at limit then go back to ones previously destroyed?
0
Best Answer
-
They go up until the range is fully used, then wrap around (and pick the non-used ones).
0
Answers
-
They go up until the range is fully used, then wrap around (and pick the non-used ones).
0 -
Thanks thats what I needed to know.
0