Class HiddenVariableObject
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
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)
Namespace: Unity.Netcode.RuntimeTests
Syntax
public class HiddenVariableObject : NetworkBehaviour
Fields
ClientInstancesSpawned
Declaration
public static List<NetworkObject> ClientInstancesSpawned
Field Value
Type | Description |
---|---|
List<NetworkObject> |
ExpectedSize
Declaration
public static int ExpectedSize
Field Value
Type | Description |
---|---|
Int32 |
MyNetworkList
Declaration
public NetworkList<int> MyNetworkList
Field Value
Type | Description |
---|---|
NetworkList<Int32> |
MyNetworkVariable
Declaration
public NetworkVariable<int> MyNetworkVariable
Field Value
Type | Description |
---|---|
NetworkVariable<Int32> |
SpawnCount
Declaration
public static int SpawnCount
Field Value
Type | Description |
---|---|
Int32 |
ValueOnClient
Declaration
public static Dictionary<ulong, int> ValueOnClient
Field Value
Type | Description |
---|---|
Dictionary<UInt64, Int32> |
Methods
Changed(Int32, Int32)
Declaration
public void Changed(int before, int after)
Parameters
Type | Name | Description |
---|---|---|
Int32 | before | |
Int32 | after |
ListChanged(NetworkListEvent<Int32>)
Declaration
public void ListChanged(NetworkListEvent<int> listEvent)
Parameters
Type | Name | Description |
---|---|---|
NetworkListEvent<Int32> | listEvent |
OnNetworkDespawn()
Declaration
public override void OnNetworkDespawn()
Overrides
OnNetworkSpawn()
Declaration
public override void OnNetworkSpawn()