Class NetworkObjectOwnershipComponent
Inheritance
NetworkObjectOwnershipComponent
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Netcode.RuntimeTests
Syntax
public class NetworkObjectOwnershipComponent : NetworkBehaviour
Fields
OnGainedOwnershipFired
Declaration
public bool OnGainedOwnershipFired
Field Value
Type | Description |
---|---|
Boolean |
OnLostOwnershipFired
Declaration
public bool OnLostOwnershipFired
Field Value
Type | Description |
---|---|
Boolean |
Methods
OnGainedOwnership()
Declaration
public override void OnGainedOwnership()
Overrides
OnLostOwnership()
Declaration
public override void OnLostOwnership()
Overrides
ResetFlags()
Declaration
public void ResetFlags()