hi guys.
iam trying to enable/deactivate the Mesh Renderer from a bunch of GOs.
so i just want to find every GO with the name “diag_” or with the name “diag_%_2”.
is this possible? or do i have to tag every GO?(which i dont want)
var gos : GameObject[];
gos = GameObject.Find("diag_"+???);
possible? or
for(var i:int = 0;i<whatEver; i++){
arr.push(GameObject.Find("diag_"+???));
}
what is the replacemant for “???”.
any advice? thanks.