[]
        
(Showing Draft Content)

C1.C1Preview.InputActionCollection.IndexOf

IndexOf Method

IndexOf(InputAction)

Returns the index of the specified element in the current collection.

Declaration
public int IndexOf(InputAction inputAction)
Parameters
Type Name Description
InputAction inputAction

The element to return the index of.

Returns
Type Description
int

The index of the specified element in the current collection.