예제 #1
0
 private void Awake()
 {
     pool = new GameObjectPool <Multiplier>(parent, prefab, 64, true);
     pool.Fill();
 }
예제 #2
0
 private void Awake()
 {
     pool = new GameObjectPool <HitEffect>(transform, prefab, 4, true);
     pool.Fill();
 }
예제 #3
0
 private void Awake()
 {
     pool = new GameObjectPool <Turret>(transform, prefab, 32, true);
     pool.Fill();
 }