Example #1
0
 private void Awake()
 {
     if (pooler == null)
     {
         pooler = new Pooler <Pellet>(pellet, 20);
     }
     else if (!pooler.GetFromPool())
     {
         pooler = new Pooler <Pellet>(pellet, 20);
     }
     firstTimeBurst = firstTimeBurstTimer;
 }