Linguaggio
Modifica

DisablePointersExample Class

Definition

This example demonstrates how to turn pointers on and off by specifying custom behaviors.

public ref class DisablePointersExample : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/DisablePointersExample")]
[UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.UI.PointerBehaviorControls))]
public class DisablePointersExample : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/DisablePointersExample")>]
[<UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.UI.PointerBehaviorControls))>]
type DisablePointersExample = class
    inherit MonoBehaviour
Public Class DisablePointersExample
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
DisablePointersExample
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute

Constructors

Name Description
DisablePointersExample()

Fields

Name Description
ControllerRayToggle
GazeToggle
GrabToggle
HandRayToggle
PokeToggle

Methods

Name Description
ResetExample()

Applies to