Class NetworkObjectOwnershipComponent
Inheritance
NetworkObjectOwnershipComponent
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 NetworkObjectOwnershipComponent : NetworkBehaviour
Fields
| Name | Description |
|---|---|
| OnGainedOwnershipFired | |
| OnLostOwnershipFired |
Methods
| Name | Description |
|---|---|
| OnGainedOwnership() | Gets called when the local client gains ownership of this object |
| OnLostOwnership() | Gets called when we loose ownership of this object |
| ResetFlags() |