private IEnumerator WaitForBattleLoad(string sceneName) { while (SceneManager.GetActiveScene().name != battleSceneName) { yield return(null); } currentBattle.SetUpBattle(); }
private IEnumerator WaitForBattleLoad(string sceneName) { while (SceneManager.GetActiveScene().name != battleSceneName) { yield return(null); } currentBattle.SetUpBattle(); }