public void LoadStageSelect() { if (gameManager != null || NGameManager.TryGetInstance(out gameManager)) { gameManager.LoadRandomLevel(); } }
private IEnumerator EndSequence() { yield return(new WaitForSeconds(2.5f)); if (gameManager != null || NGameManager.TryGetInstance(out gameManager)) { gameManager.LoadRandomLevel(); } }