public void RetryGame() { CheckPointManager.SetNewCheckpoint(m_AreaCheckpoints[0]); RestartAllObjects(); HideMenusAndControls(); }
private void OnTriggerEnter(Collider l_Collision) { if (l_Collision.gameObject == GameController.Instance.GetPlayerGameObject()) { if (CheckPointManager.SetNewCheckpoint(this)) { DisableThisCheckpoint(); } } }