Class NetworkBehaviourWithNetworkVariables
A test NetworkBeahviour that provides a varying NetworkList size as well as additional NetworkVariables to assure if a NetworkObject fails to be created the synchronization process will continue (i.e. it will skip over that block of the reader buffer).
Inheritance
NetworkBehaviourWithNetworkVariables
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 NetworkBehaviourWithNetworkVariables : NetworkBehaviour
Fields
Name | Description |
---|---|
ClientSpawnCount | |
NetworkVariableData1 | |
NetworkVariableData2 | |
NetworkVariableData3 | |
NetworkVariableData4 |
Properties
Name | Description |
---|---|
ServerSpawnCount |
Methods
Name | Description |
---|---|
OnNetworkSpawn() | Gets called when the NetworkObject gets spawned, message handlers are ready to be registered and the network is setup. |
ResetSpawnCount() |