Struct InputActionEventPair
Data class that maps MixedRealityInputActions to UnityEvents wired up in the inspector.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
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 |