I have setup Blender Tree Animation, it works fine inside the preview, But does not show anything inside Game window.

unity3d idle to movement

using below code to pass moveX & moveY which is inside PlayerController script update method.

void RunAnimations()
        animator.SetFloat("moveX", transform.position.x);
        animator.SetFloat("moveY", transform.position.y);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.