Class PlayerSyncer
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class PlayerSyncer : MonoBehaviour, IPunObservable
- Inheritance
-
PlayerSyncer
- Implements
-
IPunObservable
- Inherited Members
-
- Extension Methods
-
Constructors
PlayerSyncer()
Fields
first
Field Value
- bool
hasRecieved
Field Value
- bool
lastPos
Field Value
- Vector3
lookDistance
public float lookDistance
Field Value
- float
player
Field Value
- Player
sinceLastPackage
public float sinceLastPackage
Field Value
- float
targetLook
public Vector2 targetLook
Field Value
- Vector2
targetPos
Field Value
- Vector3
Methods
FixedUpdate()
public void FixedUpdate()
OnPhotonSerializeView(PhotonStream, PhotonMessageInfo)
public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info)
Parameters
stream
PhotonStream
info
PhotonMessageInfo
Start()
Update()