I use blender as my modeling engine and whenever ive been having trouble with importing the animation. ill create the object and ill create the action then i save the scene and import it into unity.
function Update ()
{
if(Input.GetButton("Explode"))
{
animation.Play("Shoot");
}
}
the problem isnt with my code my code works but i get an error saying could not play animation shoot because animation was not found. this error was obvious showing my animation did not import what did i do wrong