Modifier

Partager via


BaseEventSystem.Register(GameObject) Method

Definition

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.

Implements

Applies to