void HandleInput() { if (IsDebug) { if (Input.GetKeyDown(KeyCode.P)) { var pauseFlag = TimeController.AddOrRemovePause(this); Debug.LogFormat("Pause cheat used, new pause state is: {0}", pauseFlag); } if (Input.GetKeyDown(KeyCode.LeftBracket)) { Debug.Log("Win game cheat"); WinGame(); } if (Input.GetKeyDown(KeyCode.RightBracket)) { Debug.Log("Lose game cheat"); LoseGame(); } } }