Hello Photonians,
I'm kind of running into an issue with the TransformOwnership method on a PhotonView.
[Photon] PhotonView TransferOwnership, but forever (destroy on Client quit)
I'm kind of running into an issue with the TransformOwnership method on a PhotonView.
Code (csharp):
- /// <summary>
- /// Transfers the ownership of this PhotonView (and GameObject) to another player.
- /// </summary>
- /// <remarks>
- /// The owner/controller of a PhotonView is also the client which sends position updates of the GameObject.
- /// </remarks>
- public void TransferOwnership(PhotonPlayer newOwner)
- {
- this.TransferOwnership(newOwner.ID);...