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