示例#1
0
    void EatBoid(Boid boid)
    {
        if (bFactory == null)
        {
            bFactory = boid.GetBoidFactory();
        }

        Destroy(boid.gameObject);
        UpgradeStats();
        boidsEaten++;
        scoreToGive++;
        GameManager.RemoveBoids(1);
    }