編輯

共用方式為


InputActionEventPair Struct

Definition

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

public value class InputActionEventPair
[System.Serializable]
public struct InputActionEventPair
[<System.Serializable>]
type InputActionEventPair = struct
Public Structure InputActionEventPair
Inheritance
InputActionEventPair
Attributes

Constructors

InputActionEventPair(MixedRealityInputAction, UnityEvent)

Constructor.

Properties

InputAction

The MixedRealityInputAction to listen for to invoke the UnityEvent.

UnityEvent

The UnityEvent to invoke when MixedRealityInputAction is raised.

Applies to