void Awake() { enemyPool = new GenericPooling <Enemy>(); allyPool = new GenericPooling <Ally>(); archerTurretPool = new GenericPooling <ArcherTurret>(); mageTurretPool = new GenericPooling <MageTurret>(); arrowPool = new GenericPooling <Arrow>(); popupPool = new GenericPooling <PopupText>(); }
private void Awake() { Instance = this; //do any initialization before here if (PoolInitialized != null) { Debug.Log("Pool Initialized"); PoolInitialized.Invoke(); } }
private void Awake() { Instance = this; }