Пример #1
0
 private void Awake()
 {
     base.SetupReference(DemonThreat, DemonThreatRange, RandomlySpawnDemons);
     base.SetupPool(DemonPrefab, DemonPoolSize, DemonsHiding, MaxNumDemons);
     Debug.Log("Pool Setup Complete:" + PoolerType.ToString());
     Debug.Log("Pool Size: " + base.maxpoolSize.ToString());
 }
 private void Awake()
 {
     base.SetupReference(RewardSpawnReference, RewardSpawnRange, RandomlySpawnRewards);
     base.SetupPool(PowerUpPrefab, RewardPoolSize, RewardsinReserve, MaxNumRewards);
     Debug.Log("Pool Setup Complete:" + PoolerType.ToString());
     Debug.Log("Pool Size: " + base.maxpoolSize.ToString());
 }