Class HiddenVariableObject
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)
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class HiddenVariableObject : NetworkBehaviour
Fields
| Name | Description |
|---|---|
| ClientInstancesSpawned | |
| ExpectedSize | |
| MyNetworkList | |
| MyNetworkVariable | |
| SpawnCount | |
| ValueOnClient |
Methods
| Name | Description |
|---|---|
| Changed(int, int) | |
| ListChanged(NetworkListEvent<int>) | |
| OnNetworkDespawn() | Gets called when the NetworkObject gets despawned. Is called both on the server and clients. |
| OnNetworkSpawn() | Gets called when the NetworkObject gets spawned, message handlers are ready to be registered and the network is setup. |