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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.