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