C# Class SynchronizedObject, PaperCowboys

Inheritance: MonoBehaviour
Mostrar archivo Open project: Gamieon/PaperCowboys Class Usage Examples

Protected Properties

Property Type Description
correctPos Vector3
correctRot Quaternion
myRigidbody UnityEngine.Rigidbody
myTransform Transform

Protected Methods

Method Description
Awake ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnMasterClientSwitched ( PhotonPlayer, player ) : void
OnPhotonSerializeView ( PhotonStream, stream, PhotonMessageInfo, info ) : void
OnSerializeNetworkView ( BitStream stream, NetworkMessageInfo info ) : void
Start ( ) : void
Update ( ) : void
uLink_OnSerializeNetworkView ( uLink stream, uLink info ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

OnMasterClientSwitched() protected method

protected OnMasterClientSwitched ( PhotonPlayer, player ) : void
player PhotonPlayer,
return void

OnPhotonSerializeView() protected method

protected OnPhotonSerializeView ( PhotonStream, stream, PhotonMessageInfo, info ) : void
stream PhotonStream,
info PhotonMessageInfo,
return void

OnSerializeNetworkView() protected method

protected OnSerializeNetworkView ( BitStream stream, NetworkMessageInfo info ) : void
stream BitStream
info UnityEngine.NetworkMessageInfo
return void

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

uLink_OnSerializeNetworkView() protected method

protected uLink_OnSerializeNetworkView ( uLink stream, uLink info ) : void
stream uLink
info uLink
return void

Property Details

correctPos protected_oe property

Synchronization: The correct object position according to this object's owner.
protected Vector3 correctPos
return Vector3

correctRot protected_oe property

Synchronization: The correct object rotation according to this object's owner.
protected Quaternion correctRot
return Quaternion

myRigidbody protected_oe property

Cached rigid body.
protected Rigidbody,UnityEngine myRigidbody
return UnityEngine.Rigidbody

myTransform protected_oe property

Cached transform.
protected Transform myTransform
return Transform