Esempio n. 1
0
    void FixedUpdate()
    {
        LinePath lp = tileComponent.FindLinePathClosest(transform.position, target.position);

        movement.steering = followPath.GetSteering(lp);
        lp.Draw();

        tileComponent.SetTile(transform.position);
    }