Hey, im new unity and c# maybe this question little bit easy to solve.
I have animations for movement. But can’t add Animator into inspector screen. I search AILerpEditor script maybe i can add there but i didn’t find how can i add there.
Hey, im new unity and c# maybe this question little bit easy to solve.
I have animations for movement. But can’t add Animator into inspector screen. I search AILerpEditor script maybe i can add there but i didn’t find how can i add there.
Hi
I’m not quite sure what you mean. The Animator is just a standard unity component, you should always be able to add it.
Note that the AILerp script does not have any built-in support for animations however, so you will need to use a separate script to control the animations.
For example something like this
IAstarAI ai = GetComponent<AILerp>();
var velocity = ai.velocity;
// Set animation parameters using the velocity field
Oh, i get it thanks.