private void CheckBounds()
 {
     if (transform.position.y >= boundary.Top)
     {
         //TODO: This code needs to change to use the BulletPoolManager's
         //TODO: ResetBullet function which will return the bullet to the pool
         _BulletPoolManager.ResetBullet(this.gameObject);
     }
 }
Beispiel #2
0
 private void CheckBounds()
 {
     if (transform.position.y >= boundary.Top)
     {
         //TODO: This code needs to change to use the BulletPoolManager's
         //TODO: ResetBullet function which will return the bullet to the pool
         BPM.ResetBullet(BPM._bPoolAlive.Peek());
     }
 }
 private void getSize()
 {
     Bullet_Pool_Manager.ResetBullet(size);
 }