Пример #1
0
    IEnumerator Locomotion_Move()
    {
        do
        {
            UpdateAnimationBlend();
            yield return(null);

            if (agent_.IsOnOffMeshLink())
            {
                //Debug.LogWarning("SOLIDER ON OFF MESH LINK");
                locoState_ = SelectLinkAnimation();
                return(true);
            }
        } while(agent_.RemainingDistance() > 0.1);

        locoState_ = "Locomotion_Stand";
    }