Options to define how Ownership Transfer is handled per PhotonView.
This setting affects how RequestOwnership and TransferOwnership work at runtime.
Enumerator |
---|
Fixed | Ownership is fixed. Instantiated objects stick with their creator, scene objects always belong to the Master Client.
|
Takeover | Ownership can be taken away from the current owner who can't object.
|
Request | Ownership can be requested with PhotonView.RequestOwnership but the current owner has to agree to give up ownership.
The current owner has to implement IPunCallbacks.OnOwnershipRequest to react to the ownership request.
|