Helper component for all NetworkTransformTests
Inheritance
NetworkTransformTestComponent
public class NetworkTransformTestComponent : NetworkTransform
Fields
Declaration
public NetworkTransform.NetworkTransformState AuthorityLastSentState
Field Value
Declaration
public bool ReadyToReceivePositionUpdate
Field Value
Declaration
public bool ServerAuthority
Field Value
Properties
Declaration
public bool StatePushed { get; }
Property Value
Declaration
public bool StateUpdated { get; }
Property Value
Methods
Declaration
public (bool isDirty, bool isPositionDirty, bool isRotationDirty, bool isScaleDirty) ApplyState()
Returns
Declaration
public void CommitToTransform()
Declaration
protected override void OnAuthorityPushTransformState(ref NetworkTransform.NetworkTransformState networkTransformState)
Parameters
Overrides
Declaration
protected override bool OnIsServerAuthoritative()
Returns
Overrides
Declaration
public override void OnNetworkSpawn()
Overrides
Declaration
protected override void OnNetworkTransformStateUpdated(ref NetworkTransform.NetworkTransformState oldState, ref NetworkTransform.NetworkTransformState newState)
Parameters
Overrides