Exemple #1
0
 public void ActiveTriggerMonster(int waveID)
 {
     if (battleMgr != null)
     {
         battleMgr.isNextTriggerOn = false;
         battleMgr.LoadMonsterByWaveID(waveID);
         battleMgr.ActiveCurrentBatchMonster();
     }
 }
Exemple #2
0
    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;
        }
    }