public override string ToString() { return string.Format("View ({3}){0} on {1} {2}", this.viewID, (this.gameObject != null) ? this.gameObject.name : "GO==null", (this.isSceneView) ? "(scene)" : string.Empty, this.prefix); } }
public void OnOwnershipRequest(PhotonView targetView, Player requestingPlayer) { targetView.TransferOwnership(requestingPlayer); #if UNITY_EDITOR Debug.Log("Transfer owner of " + targetView.ToString() + " to " + requestingPlayer.ActorNumber); #endif }