How To Add Animations Through C# Scripts
I have been trying to find an answer for this for days and I can't find anything online. I have enemies who spawn through a script on panels which also spawn through a script. The enemies are imported from Blender along with the animations which are attached to the models. Does anybody have any examples, or could direct me to examples, of how to access the animations through a C# script?
Every single answer I've seen so far states to attach the animations to a model in the scene, but there's absolutely nothing in the scene because it's all generated from a script. How can I go about it without touching the scene at all?
Your answer
Follow this Question
Related Questions
Play animation on mouseclick 0 Answers
Clarifaction needed on LoadLevel delay. 1 Answer
Set Bool to false after seconds? 2 Answers
How to make a animation play when I press a key 1 Answer
Rotate character 0 Answers