BaseEventSystem.Register(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.
Registers a GameObject to listen for events from this Event System.
public:
virtual void Register(UnityEngine::GameObject ^ listener);
public virtual void Register (UnityEngine.GameObject listener);
abstract member Register : UnityEngine.GameObject -> unit
override this.Register : UnityEngine.GameObject -> unit
Public Overridable Sub Register (listener As GameObject)
Parameters
- listener
- UnityEngine.GameObject
GameObject to add to EventListeners.