MixedRealityInputSystem.RaiseFocusEnter Method
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.
Raise the focus enter event.
C++
public:
virtual void RaiseFocusEnter(Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointer ^ pointer, UnityEngine::GameObject ^ focusedObject);
public void RaiseFocusEnter (Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer pointer, UnityEngine.GameObject focusedObject);
abstract member RaiseFocusEnter : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer * UnityEngine.GameObject -> unit
override this.RaiseFocusEnter : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer * UnityEngine.GameObject -> unit
Public Sub RaiseFocusEnter (pointer As IMixedRealityPointer, focusedObject As GameObject)
- pointer
- IMixedRealityPointer
The pointer that has focus.
- focusedObject
- UnityEngine.GameObject
The GameObject that the pointer has entered focus on.
Продукт | Версии |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |