Class NetworkTransformTestComponent
Helper component for all NetworkTransformTests
Inheritance
NetworkTransformTestComponent
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Netcode.RuntimeTests
Syntax
public class NetworkTransformTestComponent : NetworkTransform
Fields
ReadyToReceivePositionUpdate
Declaration
public bool ReadyToReceivePositionUpdate
Field Value
Type | Description |
---|---|
Boolean |
ServerAuthority
Declaration
public bool ServerAuthority
Field Value
Type | Description |
---|---|
Boolean |
Methods
ApplyState()
Declaration
public (bool isDirty, bool isPositionDirty, bool isRotationDirty, bool isScaleDirty) ApplyState()
Returns
Type | Description |
---|---|
(T1, T2, T3, T4)<Boolean, Boolean, Boolean, Boolean> |
CommitToTransform()
Declaration
public void CommitToTransform()
OnIsServerAuthoritative()
Declaration
protected override bool OnIsServerAuthoritative()
Returns
Type | Description |
---|---|
Boolean |
Overrides
OnNetworkSpawn()
Declaration
public override void OnNetworkSpawn()