Class ListChangedObject
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: Unity.Netcode.RuntimeTests.dll
Syntax
public class ListChangedObject : NetworkBehaviour
Fields
AddDone
Declaration
public bool AddDone
Field Value
Type | Description |
---|---|
bool |
ExpectedPreviousValue
Declaration
public int ExpectedPreviousValue
Field Value
Type | Description |
---|---|
int |
ExpectedValue
Declaration
public int ExpectedValue
Field Value
Type | Description |
---|---|
int |
MyNetworkList
Declaration
public NetworkList<int> MyNetworkList
Field Value
Type | Description |
---|---|
NetworkList<int> |
Methods
Changed(NetworkListEvent<int>)
Declaration
public void Changed(NetworkListEvent<int> listEvent)
Parameters
Type | Name | Description |
---|---|---|
NetworkListEvent<int> | listEvent |
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()