- Home /
Question by
electro_unity · May 31, 2018 at 05:03 PM ·
animatorweight
GetComponent().GetLayerWeight(0) returns 0?
I need to hardcode an animation event to know which state is calling it and check if it is the higher layer with weight 1. But when I check the Base Layer with GetComponent().GetLayerWeight(0), it returns 0... I see the weight and it is 1, and I think Base Layer cant be 0 so...
Comment
Your answer
Follow this Question
Related Questions
How to superimpose two animations using the animator? 0 Answers
State weight inside StateMachineBehaviour 0 Answers
2D Animation does not start 1 Answer
Animator blend tree - Animation changes before reaching threshold 1 Answer
How do I change or create a custom 'blend type' for the animation blend trees? 0 Answers