Photon Unity Networking
v1.91
|
PhotonView.cs File Reference
Classes | |
class | PhotonView |
PUN's NetworkView replacement class for networking. Use it like a NetworkView. More... | |
Enumeration Type Documentation
enum OnSerializeRigidBody |
enum OnSerializeTransform |
enum OwnershipOption |
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. |
enum ViewSynchronization |