Table of Contents

Class PhysicsSyncer

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

Constructors

PhysicsSyncer()

public PhysicsSyncer()

Fields

hasRecieved

public bool hasRecieved

Field Value

bool

lastPos

public Vector3 lastPos

Field Value

Vector3

rig

public Rigidbody rig

Field Value

Rigidbody

sinceLastPackage

public float sinceLastPackage

Field Value

float

targetPos

public Vector3 targetPos

Field Value

Vector3

targetRot

public Quaternion targetRot

Field Value

Quaternion

view

public PhotonView view

Field Value

PhotonView

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