private bool CanSwitchBetweenInGameAndMenu() { if (!_inputScheme.PressedMenuToGameSwitch()) { return(false); } OnMenuAndGameSwitch?.Invoke(this); return(true); }
private bool CheckIfHotKeyAllowed() { if (GameIsPaused || !NoActivePopUps || MultiSelectPressed) { return(false); } if (!HasMatchingHotKey()) { return(false); } if (!_inMenu) { OnMenuAndGameSwitch?.Invoke(this); } return(true); }