Class ObjectNameIdentifier
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.TestHelpers.Runtime
Assembly: solution.dll
Syntax
public class ObjectNameIdentifier : NetworkBehaviour
Methods
Name | Description |
---|---|
DeRegisterNetworkObject() | |
OnDestroy() | Invoked when the GameObject the NetworkBehaviour is attached to. NOTE: If you override this, you will want to always invoke this base class version of this OnDestroy() method!! |
OnGainedOwnership() | Gets called when the local client gains ownership of this object |
OnLostOwnership() | Gets called when we loose ownership of this object |
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. |
RegisterAndLabelNetworkObject() |