Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

[Photon] PhotonView TransferOwnership, but forever (destroy on Client quit)

$
0
0
Hello Photonians,

I'm kind of running into an issue with the TransformOwnership method on a PhotonView.

Code (csharp):
  1.  
  2.     /// <summary>
  3.     /// Transfers the ownership of this PhotonView (and GameObject) to another player.
  4.     /// </summary>
  5.     /// <remarks>
  6.     /// The owner/controller of a PhotonView is also the client which sends position updates of the GameObject.
  7.     /// </remarks>
  8.     public void TransferOwnership(PhotonPlayer newOwner)
  9.     {
  10.         this.TransferOwnership(newOwner.ID);...
[Photon] PhotonView TransferOwnership, but forever (destroy on Client quit)

Viewing all articles
Browse latest Browse all 16796

Trending Articles