public bool LastChangedAfter(InputDevice otherDevice) { return(LastChangeTick > otherDevice.LastChangeTick); }
public float GetValue(InputDevice inputDevice) { return(GetState(inputDevice) ? 1.0f : 0.0f); }
public bool GetState(InputDevice inputDevice) { return(KeyCodeList.Any(Input.GetKey)); }
public bool GetState(InputDevice inputDevice) { return(!Mathf.Approximately(GetValue(inputDevice), 0.0f)); }