Class NetworkBehaviourGenericTests.SimpleNetworkBehaviour
Inheritance
NetworkBehaviourGenericTests.SimpleNetworkBehaviour
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 NetworkBehaviourGenericTests.SimpleNetworkBehaviour : NetworkBehaviour
Fields
OnNetworkDespawnCalled
Declaration
public bool OnNetworkDespawnCalled
Field Value
Type | Description |
---|---|
bool |
Methods
OnNetworkDespawn()
Gets called when the NetworkObject gets despawned. Is called both on the server and clients.
Declaration
public override void OnNetworkDespawn()