Ejemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     if (_BossMainQueue.GetQueue().Count.Equals(0))
     {
         actionList = GenerateActionList();
         _BossMainQueue.AddAction(actionList[Random.Range(0, actionList.Count)]);
     }
 }
Ejemplo n.º 2
0
 void Update()
 {
     if (monsterSpawnQueue.GetQueue().Count.Equals(0) && count < totalMonster)
     {
         count++;
         actionList = GenerateActionList();
         monsterSpawnQueue.AddAction(actionList[Random.Range(0, actionList.Count)]);
     }
 }