public InputState(InputControlProvider controlProvider, List <int> usedControlIndices) { this.controlProvider = controlProvider; var controlCount = controlProvider.controlCount; m_CurrentStates = new float[controlCount]; m_PreviousStates = new float[controlCount]; m_Enabled = new bool[controlCount]; SetUsedControls(usedControlIndices); }
public InputState(InputControlProvider controlProvider) : this(controlProvider, null) { }