Class ChildObjectComponent
Helper component for NetworkTransform parenting tests
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Netcode.RuntimeTests
Syntax
public class ChildObjectComponent : NetworkBehaviour
Fields
ClientInstances
Declaration
public static readonly Dictionary<ulong, NetworkObject> ClientInstances
Field Value
Type | Description |
---|---|
Dictionary<UInt64, NetworkObject> |
Instances
Declaration
public static readonly List<ChildObjectComponent> Instances
Field Value
Type | Description |
---|---|
List<ChildObjectComponent> |
Properties
ServerInstance
Declaration
public static ChildObjectComponent ServerInstance { get; }
Property Value
Type | Description |
---|---|
ChildObjectComponent |
Methods
OnNetworkSpawn()
Declaration
public override void OnNetworkSpawn()
Overrides
Reset()
Declaration
public static void Reset()