I downloaded a free package (with some turret models) from the asset store but don’t know how to use that in code (making it play the animation). The models have separate parts. I think I can animate the parts I want by creating the animations myself but looks like those models already have some pre-built animation. I can play it via the Inspector of the import settings (select the Animation tab), something like in this image:
However when I select the gameObject (from the model being dragged into the scene) and open both the Animation and Animator window, I see nothing.
I only know how to play the animation in code if the object has some Animation or Animator components. This thing is very strange to me maybe because I’m still fairly new to Unity. Could you point me in the right direction on how to use that model with its designed animation in my code (means controlling it in code)?
Thanks for your time helping me!