Class NetworkTransformTestComponent
Helper component for all NetworkTransformTests
Inheritance
NetworkTransformTestComponent
Inherited Members
UnityEngine.Component.GetComponentInParent(System.Type, System.Boolean)
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindFirstObjectByType(System.Type)
UnityEngine.Object.FindAnyObjectByType(System.Type)
UnityEngine.Object.FindFirstObjectByType(System.Type, UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType(System.Type, UnityEngine.FindObjectsInactive)
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()