編輯

共用方式為


TouchHandler Class

Definition

public ref class TouchHandler : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Input::IMixedRealityTouchHandler, UnityEngine::EventSystems::IEventSystemHandler
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/TouchHandler")]
public class TouchHandler : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.Input.IMixedRealityTouchHandler, UnityEngine.EventSystems.IEventSystemHandler
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/TouchHandler")>]
type TouchHandler = class
    inherit MonoBehaviour
    interface IMixedRealityTouchHandler
    interface IEventSystemHandler
Public Class TouchHandler
Inherits MonoBehaviour
Implements IEventSystemHandler, IMixedRealityTouchHandler
Inheritance
UnityEngine.MonoBehaviour
TouchHandler
Attributes
UnityEngine.AddComponentMenuAttribute
Implements
IMixedRealityTouchHandler UnityEngine.EventSystems.IEventSystemHandler

Constructors

TouchHandler()

Fields

OnTouchCompleted
OnTouchStarted
OnTouchUpdated

Explicit Interface Implementations

IMixedRealityTouchHandler.OnTouchCompleted(HandTrackingInputEventData)
IMixedRealityTouchHandler.OnTouchStarted(HandTrackingInputEventData)
IMixedRealityTouchHandler.OnTouchUpdated(HandTrackingInputEventData)

Applies to