コード例 #1
0
    private void Awake()
    {
        _instance  = this;
        _enemyPool = new Pool <EnemyA>(amount, EnemyFactory, EnemyA.InitializeEnemy, EnemyA.DisposeEnemy, true);

        timer = 1.5f;
    }
コード例 #2
0
 public void SetEnemyPool(EnemyAGenerator pEnemyPool)
 {
     _enemyPool = pEnemyPool;
 }