Modifier

Partager via


MixedRealityInputSystem.Register(GameObject) Method

Definition

Register a GameObject to listen to events that will receive all input events, regardless of which other GameObjects might have handled the event beforehand.

public:
 override void Register(UnityEngine::GameObject ^ listener);
public override void Register (UnityEngine.GameObject listener);
override this.Register : UnityEngine.GameObject -> unit
Public Overrides Sub Register (listener As GameObject)

Parameters

listener
UnityEngine.GameObject

Listener to add.

Implements

Remarks

Useful for listening to events when the GameObject is currently not being raycasted against by the FocusProvider.

Applies to