Beispiel #1
0
 public void SetEnemyPool(EnemyBGenerator pEnemyPool)
 {
     _enemyPool = pEnemyPool;
 }
Beispiel #2
0
 private void Awake()
 {
     _instance  = this;
     _enemyPool = new Pool <EnemyB>(amount, EnemyFactory, EnemyB.InitializeEnemy, EnemyB.DisposeEnemy, true);
     timer      = 5f;
 }