ToolTipSpawner Class
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.
Add to any Object to spawn ToolTips on tap or on focus, according to preference Applies its follow settings to the spawned ToolTip's ToolTipConnector component
public ref class ToolTipSpawner : Microsoft::MixedReality::Toolkit::UI::PrefabSpawner
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ToolTipSpawner")]
public class ToolTipSpawner : Microsoft.MixedReality.Toolkit.UI.PrefabSpawner
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ToolTipSpawner")>]
type ToolTipSpawner = class
inherit PrefabSpawner
Public Class ToolTipSpawner
Inherits PrefabSpawner
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute
prefab | (Inherited from PrefabSpawner) |
Focus |
Is focus enabled for this Component? (Inherited from BaseFocusHandler) |
Focusers |
The list of IMixedRealityPointers that are currently focused on this GameObject (Inherited from BaseFocusHandler) |
Has |
Does this object currently have focus by any IMixedRealityPointer? (Inherited from BaseFocusHandler) |
Handle |
(Inherited from PrefabSpawner) |
On |
Focus event that is raised before the focus is actually changed. (Inherited from BaseFocusHandler) |
On |
Focus event that is raised when the focused object is changed. (Inherited from BaseFocusHandler) |
On |
The Focus Enter event is raised on this GameObject whenever a IMixedRealityPointer's focus enters this GameObject's Collider. (Inherited from PrefabSpawner) |
On |
The Focus Exit event is raised on this GameObject whenever a IMixedRealityPointer's focus leaves this GameObject's Collider. (Inherited from PrefabSpawner) |
Spawnable |
IMixed |
Input Down updates from Interactions, Keys, or any other simple input. (Inherited from PrefabSpawner) |
IMixed |
Input Up updates from Interactions, Keys, or any other simple input. (Inherited from PrefabSpawner) |
IMixed |
Raised input event updates from the type of input specified in the interface handler implementation. (Inherited from PrefabSpawner) |
Produit | Versions |
---|---|
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 |