ToggleDwellSample 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.
Example script to demonstrate a toggle button using dwell
C++
public ref class ToggleDwellSample : Microsoft::MixedReality::Toolkit::Experimental::Dwell::BaseDwellSample
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ToggleDwellSample")]
public class ToggleDwellSample : Microsoft.MixedReality.Toolkit.Experimental.Dwell.BaseDwellSample
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ToggleDwellSample")>]
type ToggleDwellSample = class
inherit BaseDwellSample
Public Class ToggleDwellSample
Inherits BaseDwellSample
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute
dwell |
(Inherited from BaseDwellSample) |
dwell |
(Inherited from BaseDwellSample) |
is |
(Inherited from BaseDwellSample) |
target |
(Inherited from BaseDwellSample) |
Produkt | Wersje |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0 |