Пример #1
0
    public override bool HandleFixedUpdate()
    {
        f_controller.Velocity = Vector2.zero;
        f_behaviourTree.FixedUpdate(1);

        return(true);
    }
Пример #2
0
    private void FixedUpdate()
    {
        BTStateReturn ret = f_bt.FixedUpdate(1);

        if (ret != BTStateReturn.Running)
        {
            enabled = false;
        }
    }
Пример #3
0
    public override bool HandleFixedUpdate()
    {
        f_behaviourTree.FixedUpdate(1);

        return(true);
    }