コード例 #1
0
 public void ActiveTriggerMonster(int waveID)
 {
     if (battleMgr != null)
     {
         battleMgr.isNextTriggerOn = false;
         battleMgr.LoadMonsterByWaveID(waveID);
         battleMgr.ActiveCurrentBatchMonster();
     }
 }
コード例 #2
0
ファイル: MapMgr.cs プロジェクト: hafewa/DarkGod-1
    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;
        }
    }