public List <Class_Wave> CreateLevelList(int currentLevelnum) { Class_Level newLevel = null; newLevel.levelNum = 4; return(newLevel); }
IEnumerator CycleThroughLevel(Class_Level WaveList) { for (int i = 0; i <= WaveList.Waves.Count; i++) { StartCoroutine(CycleThroughWave(WaveList.Waves[i])); yield return(new WaitForSeconds(2)); } currentLevelnum++; yield return(new WaitForSeconds(3)); }