Transfer ownership from scene to player and back

Yet another ownership question!

So I've got a scene with objects that can be picked up by the player. Objects in the scene by default have "Scene" as their PhotonVIew's owner. To allow the player to pick up an item and move it around I use:


But when the player drops the item I want it the PhotonVIew's owner to change back to "Scene" but I can't find a way to do that? So what do I need to do to set a PhotonVIew's owner to "Scene"?


  • Ok, found it myself. It doesn't seem to be in the docs but looking at the code I could see that the following should set an owner back to "Scene":


    And it seems to work. Great!
  • This is what I need!
Sign In or Register to comment.