Class SimplePlayerSyncer
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class SimplePlayerSyncer : MonoBehaviour, IPunObservable
- Inheritance
-
SimplePlayerSyncer
- Implements
-
IPunObservable
- Inherited Members
-
- Extension Methods
-
Constructors
SimplePlayerSyncer()
public SimplePlayerSyncer()
Fields
distance
Field Value
- float
lookDistance
public float lookDistance
Field Value
- float
player
public SimplePlayer player
Field Value
- SimplePlayer
targetLook
public Vector2 targetLook
Field Value
- Vector2
targetPos
Field Value
- Vector3
Methods
OnPhotonSerializeView(PhotonStream, PhotonMessageInfo)
public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info)
Parameters
stream
PhotonStream
info
PhotonMessageInfo
Start()
Update()