/// <summary> /// Hides the in-game UI and shows the end game panel /// </summary> protected void OnGameplayEnded() { catchedTargets.Disable(); timer.Disable(); quickButtonPanel.Disable(); healthPanel.Disable(); endGamePanel.Enable(); endGamePanel.SetData(game.catchedTargets, game.gameLength - GetReamingTime()); }