Пример #1
0
 // Use this for initialization
 void Start()
 {
     enemyGenerator = GetComponent <EnemyGenerator>();
     enemyAmount    = enemyGenerator.GetTotalEnemyAmount();
     enemies        = new List <GameObject>();
     shootTimer     = 0;
     totalAmout     = enemyGenerator.TotalEnemies();
 }