public void PlayerDied() { gameState = GameState.PlayerDead; gameUI.BlockInput(); Time.timeScale = .8f; Invoke("RestartLevel", 3f); }