private void BindKey(KeyCode keyCode, EInputCommand bindCmd)
 {
     if (!keyBuffers.ContainsKey(keyCode))
     {
         keyBuffers.Add(keyCode, new KeyBuffer(keyCode, bindCmd));
     }
 }
 public KeyBuffer(KeyCode keyCode, EInputCommand inputCmd)
 {
     KeyCodeValue            = keyCode;
     CmdMessage              = new InputCommandMessage();
     CmdMessage.InputCommand = inputCmd;
     CmdMessage.InputState   = EInputState.Release;
 }
 public InputCommandState(EInputCommand inCmd)
 {
     InputCommand = inCmd;
     CurrentState = EInputState.Release;
     HoldTime     = 0;
 }