Hi Pumpkinotto,
you could try using the following (C#):
Animator[] animArray;
animArray = GetComponentsInChildren();
foreach (Animator anim in animArray) {
//Do something cool with anim
}
The difference between GetComponentsInChildren and GetComponentInChildren is that it returns multiple objects.
code_warrior
↧