void Awake() { pool = new ObjectPrefabPool(DamageNumberPrefab, damageNumberParent, 5); timers = new GenericPool <UpdateTimer>(() => new UpdateTimer()); }
void Awake() { popUpPool = new ObjectPrefabPool(PopUpPrefab, transform, 2); instance = this; }
void Awake() { Instance = this; DeadEnemies = new ObjectPrefabPool(DeadEnemyPrefab, DeadEnemyParent); }
void Awake() { FollowerPool = new ObjectPrefabPool(DisplayPrefab.gameObject, transform); }
void Awake() { Instance = this; Pool = new ObjectPrefabPool(PointPrefab, Parent, 3); }
void Awake() { Instance = this; Pool = new ObjectPrefabPool(ItemDropperPrefab, transform, 5); }