Class NetworkObjectOwnershipComponent
Inheritance
NetworkObjectOwnershipComponent
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
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()