public void ActiveTriggerMonster(int waveID) { if (battleMgr != null) { battleMgr.isNextTriggerOn = false; battleMgr.LoadMonsterByWaveID(waveID); battleMgr.ActiveCurrentBatchMonster(); } }
public void TriggleMonsterBorn(TriggerData trigger, int waveIndex) { if (battleMgr != null) { BoxCollider co = trigger.gameObject.GetComponent <BoxCollider>(); co.isTrigger = false; battleMgr.LoadMonsterByWaveID(waveIndex); battleMgr.ActiveCurrentBatchMonster(); battleMgr.triggerCheck = true; } }