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