- Home /
Question by
Liveo · May 04, 2016 at 03:07 PM ·
animation script
How do I start an animation at a particular point when I am using a list of prefabs?
I have created a list of prefabs for Galaxian style baddies in a game like this:
public List aliens1Group = new List ();
and then for each baddie:
aliens1Group.Add (Instantiate (Resources.Load ("Alien1Prefab")) as GameObject);
Each baddie has a 4 frame animation. How do I get some of them to start at different positions in the animation.
Comment
You can use Animator.Play to pass a normalized time value.
Your answer
![](https://koobas.hobune.stream/wayback/20220612080143im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Animation Script 0 Answers
How to loop unity?JS 3 Answers
Stuck animation bug 0 Answers