Beispiel #1
0
 protected override IEnumerator SpawnEnemies(List <SpawnData> dataList)
 {
     foreach (var spawnData in dataList)
     {
         EnemyGenerator.GenerateDiamond(spawnData.enemyData, spawnData.position, Vector3.zero, Quaternion.identity);
     }
     yield return(null);
 }