IMixedRealityEventSystem.Unregister(GameObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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