void Update() { if (Limiter.Get().playerIsOutsideTheLimit) { explosion.Play(); Limiter.Get().playerIsOutsideTheLimit = false; AeroplaneUserControl2Axis.playerIsAlive = false; gameOver.SetActive(true); Cursor.lockState = CursorLockMode.None; Cursor.visible = true; UIGameplayManager.Get().gameOver = true; } }