Table of Contents

Class PlayerSyncer

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class PlayerSyncer : MonoBehaviour, IPunObservable
Inheritance
PlayerSyncer
Implements
IPunObservable
Inherited Members
Extension Methods

Constructors

PlayerSyncer()

public PlayerSyncer()

Fields

first

public bool first

Field Value

bool

hasRecieved

public bool hasRecieved

Field Value

bool

lastPos

public Vector3 lastPos

Field Value

Vector3

lookDistance

public float lookDistance

Field Value

float

player

public Player player

Field Value

Player

sinceLastPackage

public float sinceLastPackage

Field Value

float

targetLook

public Vector2 targetLook

Field Value

Vector2

targetPos

public Vector3 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()

public void Start()

Update()

public void Update()