public void TriggerMonsterBorn(TriggerData triggerData, int batchIdx) { if (battleMgr != null) { battleMgr.LoadMonsterByBatchID(batchIdx); battleMgr.ActiveCurrentBatchMonsters(); battleMgr._bTriggerCheck = true; BoxCollider box = triggerData.GetComponent <BoxCollider>(); if (box) { box.isTrigger = false; } } }