public recorrerArbre ( Transform pare ) : void | ||
pare | Transform | |
return | void |
void recorrerArbre (Transform pare)
{
if (pare.childCount == 0)
return;
for (int j = 0; j < pare.childCount; j++) {
Transform fill = pare.GetChild (j);
transparentar (fill.gameObject);
recorrerArbre (fill);
}
}