BaseEventSystem.Unregister(GameObject) Method

Definition

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

public:
 virtual void Unregister(UnityEngine::GameObject ^ listener);
public virtual void Unregister (UnityEngine.GameObject listener);
abstract member Unregister : UnityEngine.GameObject -> unit
override this.Unregister : UnityEngine.GameObject -> unit
Public Overridable Sub Unregister (listener As GameObject)

Parameters

listener
UnityEngine.GameObject

GameObject to remove from EventListeners.

Implements

Applies to