Class NetworkVariableTest
Inheritance
NetworkVariableTest
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Assembly: solution.dll
Syntax
public class NetworkVariableTest : NetworkBehaviour
Fields
FixedString32
Declaration
public readonly NetworkVariable<FixedString32Bytes> FixedString32
Field Value
ListDelegateTriggered
Declaration
public bool ListDelegateTriggered
Field Value
TheClass
Declaration
public readonly NetworkVariable<TestClass> TheClass
Field Value
TheEnum
Declaration
public readonly NetworkVariable<NetworkVariableTest.SomeEnum> TheEnum
Field Value
TheLargeList
Declaration
public readonly NetworkList<FixedString128Bytes> TheLargeList
Field Value
TheList
Declaration
public readonly NetworkList<int> TheList
Field Value
TheScalar
Declaration
public readonly NetworkVariable<int> TheScalar
Field Value
TheStruct
Declaration
public readonly NetworkVariable<TestStruct> TheStruct
Field Value
TheStructList
Declaration
public readonly NetworkList<StructUsedOnlyInNetworkList> TheStructList
Field Value
TheTemplateClass
Declaration
public NetworkVariable<ManagedTemplateNetworkSerializableType<TestClass>> TheTemplateClass
Field Value
TheTemplateStruct
Declaration
public NetworkVariable<UnmanagedTemplateNetworkSerializableType<TestStruct>> TheTemplateStruct
Field Value
Methods
Awake()
Declaration
OnNetworkSpawn()
Gets called when the NetworkObject gets spawned, message handlers are ready to be registered and the network is setup.
Declaration
public override void OnNetworkSpawn()
Overrides