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.