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