What I want to do:
- I want to assign animated mesh to empty GameObject using script only.
- I am using Resources folder. No drag and drop properties.
Could you please point out things I need to do? (I don’t need whole code, just few points explaining what needs to be done)
Subquestions:
Would it be possible to control animation speed from component on that gameobject?
Would it be possible to set animation’s current frame/time?
Why the heck am I not using prefabs?
Basically I need to solve my problem by inheritance. It’s way cleaner solution (Even when it doesn’t sound like it, but trust me) that trying to figure out this procedural hell using standard unity practices.