Bearbeiten

Freigeben über


IMixedRealityEventSystem.Unregister(GameObject) Method

Definition

Caution

Unregister using a game object will disable listening of global events for all components of this object. Use UnregisterHandler<> methods instead to avoid unexpected behavior.

Unregisters a GameObject from listening for events from this Event System.

public:
 void Unregister(UnityEngine::GameObject ^ listener);
[System.Obsolete("Unregister using a game object will disable listening of global events for all components of this object. Use UnregisterHandler<> methods instead to avoid unexpected behavior.")]
public void Unregister (UnityEngine.GameObject listener);
[<System.Obsolete("Unregister using a game object will disable listening of global events for all components of this object. Use UnregisterHandler<> methods instead to avoid unexpected behavior.")>]
abstract member Unregister : UnityEngine.GameObject -> unit
Public Sub Unregister (listener As GameObject)

Parameters

listener
UnityEngine.GameObject

GameObject to remove from EventListeners.

Attributes

Applies to