hellow,
i am creating a 2D game, i have an underwater environment that have a crab sprite sheet,
i create the crab prefab
i create a animator controller and attached to that crab prefab
after that i have create 2 animation clips of different motion of crab in that controller.
now i instantiate crab prefab and run the clip1
then instantiate again this prefab and run the clip2
how can i do that, because there is only one controller for both animation…
plz help me… and i am so sory my english is too poor ![]()
Although I am not sure if this answers your question, but if your crabs are using the same animator, but different animations, I recommend creating two crab prefabs (one for each animation setup), where one of the two prefabs uses an Animator Override Controller as opposed to the Animator Controller. This will allow you to specify animations for that particular crab.