void EatBoid(Boid boid) { if (bFactory == null) { bFactory = boid.GetBoidFactory(); } Destroy(boid.gameObject); UpgradeStats(); boidsEaten++; scoreToGive++; GameManager.RemoveBoids(1); }