void beginNextWave() { timer = 0; string bgmName = "bgm_1"; isOuting = false; if (BattleMode == BattleFormation.RandomMode) { BattleMode = BattleFormation.ArrowMode; bgmName = "bgm_4"; } else if (BattleMode == BattleFormation.BossMode) { } else if (BattleMode == BattleFormation.MissionMode) { } else { BattleMode = BattleFormation.RandomMode; } wave.SetActive(true); fishList = BattleFormation.getFishList(BattleMode); Camera.main.GetComponent <AudioSource> ().clip = AudioController.getClip(bgmName); Camera.main.GetComponent <AudioSource> ().Play(); AudioController.PlaySound(AudioController.SOUND_BATTLER); }
//creat battle void addRandomBattleFishes() { fishList = BattleFormation.getFishList(BattleMode); }