Photon Unity Networking 2 2.45

Public Member Functions | List of all members
IPunObservable Interface Reference

Defines the OnPhotonSerializeView method to make it easy to implement correctly for observable scripts. More...

Inherited by PhotonAnimatorView, PhotonRigidbody2DView, PhotonRigidbodyView, PhotonTransformView, PhotonTransformViewClassic, CullingHandler, and SmoothSyncMovement.

Public Member Functions

void OnPhotonSerializeView (PhotonStream stream, PhotonMessageInfo info)
 Called by PUN several times per second, so that your script can write and read synchronization data for the PhotonView. More...
 

Detailed Description

Defines the OnPhotonSerializeView method to make it easy to implement correctly for observable scripts.