Quantcast
Channel: Answers by "code_warrior"
Viewing all articles
Browse latest Browse all 46

Answer by code_warrior

$
0
0
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

Viewing all articles
Browse latest Browse all 46

Trending Articles