Assign owner to PhotonView
I have a very simple two player mage duel game I want to make multi-player. So I already have a 'player' and 'opponent' object in the scene each with the same 'spellcaster' script. What I want is a PhotonView with an ownerid of 1 to go to one of these objects and an owner of 2 to the other. I know how to initialize a prefab and assign an owner... the issue here is I'm using DF GUI and all the property bindings... I'd like not to have to mess with any of that. I suppose I can abstract out all the properties and refactor but ideally I would just add a PhotoView to each and then one player gets one and another player gets the other. I only need to call a 'castspell' rpc and then have updates on health/energy. I can put an AI script on both players and they will fight to the death so I expect it won't be that hard to implement multiplayer... but I struggle a bit at assigning the ownership to Photonviews.