private bool CheckComboEvent(KeyCombo keyCombo, KeyEventType keyEventType = KeyEventType.Down) { if (keyCombo.ModKey1 != KeyCode.None && !CommonInput.GetKey(keyCombo.ModKey1)) { return(false); } if (keyCombo.ModKey2 != KeyCode.None && !CommonInput.GetKey(keyCombo.ModKey2)) { return(false); } switch (keyEventType) { case KeyEventType.Down: return(CommonInput.GetKeyDown(keyCombo.MainKey)); case KeyEventType.Up: return(CommonInput.GetKeyUp(keyCombo.MainKey)); case KeyEventType.Hold: return(CommonInput.GetKey(keyCombo.MainKey)); default: return(CommonInput.GetKeyDown(keyCombo.MainKey)); } }