Beispiel #1
0
 private void StartWave()
 {
     waving = true;
     fadeout.BGMsystem(attackbgmname);
     waveui.SetActive(true);
     for (int i = 0; i < spawncount; i++)
     {
         EnemyAntData enemydata = new EnemyAntData()
         {
             Position = spawnpos
         };
         NestSystem.Instance.InstantiateAnt(enemydata);
     }
 }
Beispiel #2
0
    private void CreateEnemy()
    {
        AntData data = new EnemyAntData();

        nestsystem.InstantiateAnt(data);
    }