Table of Contents

Class PhysicsObjectSyncer

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

Constructors

PhysicsObjectSyncer()

public PhysicsObjectSyncer()

Fields

m_firstRead

public bool m_firstRead

Field Value

bool

m_lastTickRead

public float m_lastTickRead

Field Value

float

m_newPos

public Vector3 m_newPos

Field Value

Vector3

m_newRot

public Quaternion m_newRot

Field Value

Quaternion

m_oldPos

public Vector3 m_oldPos

Field Value

Vector3

m_oldRot

public Quaternion m_oldRot

Field Value

Quaternion

m_photonView

public PhotonView m_photonView

Field Value

PhotonView

m_rigidbody

public Rigidbody m_rigidbody

Field Value

Rigidbody

m_tickTime

public float m_tickTime

Field Value

float

Methods

Awake()

public void Awake()

OnPhotonSerializeView(PhotonStream, PhotonMessageInfo)

public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info)

Parameters

stream PhotonStream
info PhotonMessageInfo

SetInitialPos(Vector3, Quaternion)

public void SetInitialPos(Vector3 pos, Quaternion rot)

Parameters

pos Vector3
rot Quaternion

Update()

public void Update()