Exemplo n.º 1
0
    protected virtual void Init()
    {
        //For Hierarchy management
        //All boids will appear under the a game object
        transform.SetParent(BoidAnchor, true);

        stats = GetComponent <BoidStats>();

        BoidsManager.AddBoid(this);
    }