BaseNearInteractionTouchable 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.
Base class for all NearInteractionTouchables.
C++
public ref class BaseNearInteractionTouchable abstract : UnityEngine::MonoBehaviour
public abstract class BaseNearInteractionTouchable : UnityEngine.MonoBehaviour
type BaseNearInteractionTouchable = class
inherit MonoBehaviour
Public MustInherit Class BaseNearInteractionTouchable
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourBaseNearInteractionTouchable
- Derived
Add this component to objects to raise touch events when in [PokePointer](xref:Microsoft.MixedReality.Toolkit.Input.PokePointer) proximity.
The object layer must be included of the [PokeLayerMasks](xref:Microsoft.MixedReality.Toolkit.Input.PokePointer.PokeLayerMasks).</p>
Debounce |
Distance in front of the surface at which you will receive a touch completed event. |
Events |
The type of event to receive. |
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 |