- Home /
animation control problem
I have a list of .FBX object.When I drag that .FBX into scene its corresponding inspector Animation component(fig 1) appears but when I drag some other .FBX object into the scene the Animator component(fig 2) is getting added to the scene.Please see the image attached
Issues Found : 1)fig (1) - When we click on the object and write code to display animation
void OnMouseEnter()
{
animation.Play("DropBothFork01");
}
The above code is working But if we consider fig(2) the code is not working even though adding a animation component.
What will be the issue?Why for each .fbx object when drag into scene the animation and animator component varries.Could you please help me out solving it.
Your answer
Follow this Question
Related Questions
Is there an isPlaying() type function for Animator 2 Answers
control animation using animation control class 1 Answer
How to make a transition animation, intermediate animation between two main states 0 Answers
Efficient way to instantiate a sprite that plays an animation then destroys itself? (3d space) 1 Answer