How do I write a script that SIMPLY just auto plays through all animations contained in the animations Element array when I start the scene? Element 0, 1, 2, 3, 4... Something like this? Code (csharp): function Start () { animation.PlayQueued("all", QueueMode.PlayNow); }
You're on the right track with function Start() and PlayQueued(). You should probably use a for loop as well. Here's something of what it would look like: Code (csharp): function Start () { for (var state : AnimationState in animation) animation.PlayQueued (state.name); }