Im trying to get a list during runtime , a list with all the name of my objects in my gameobjects array ,
i wanna be able to select one object and return wich one it is , could i get some help to start off? :>
Im trying to get a list during runtime , a list with all the name of my objects in my gameobjects array ,
i wanna be able to select one object and return wich one it is , could i get some help to start off? :>
Somehting like:
var objs : Component[];
objs = gameObject.GetComponentsInChildren(Transform);
for (var obj : Component in objs) {
print(obj.GameObject.name);
}