Struct InputControlExtensions.InputEventControlCollection
Allows iterating over the controls referenced by an InputEvent via InputControlExtensions.InputEventControlEnumerator.
Namespace: UnityEngine.InputSystem
Syntax
public struct InputEventControlCollection : IEnumerable<InputControl>
Properties
eventPtr
The event being iterated over. A StateEvent or DeltaStateEvent.
Declaration
public readonly InputEventPtr eventPtr { get; }
Property Value
Type | Description |
---|---|
InputEventPtr |
Methods
GetEnumerator()
Enumerate the controls in the event.
Declaration
public InputControlExtensions.InputEventControlEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
InputControlExtensions.InputEventControlEnumerator | An enumerator. |