We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Struct InputActionEventPair

    Data class that maps MixedRealityInputActions to UnityEvents wired up in the inspector.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public struct InputActionEventPair

    Constructors

    InputActionEventPair(MixedRealityInputAction, UnityEvent)

    Constructor.

    Declaration
    public InputActionEventPair(MixedRealityInputAction inputAction, UnityEvent unityEvent)
    Parameters
    Type Name Description
    MixedRealityInputAction inputAction
    UnityEvent unityEvent

    Properties

    InputAction

    The MixedRealityInputAction to listen for to invoke the UnityEvent.

    Declaration
    public MixedRealityInputAction InputAction { get; }
    Property Value
    Type Description
    MixedRealityInputAction

    UnityEvent

    The UnityEvent to invoke when MixedRealityInputAction is raised.

    Declaration
    public UnityEvent UnityEvent { get; }
    Property Value
    Type Description
    UnityEvent
    In This Article
    Back to top Generated by DocFX