BaseEventSystem.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.
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.