i am trying to find the child object of a gameobject with a different name each load.
so i am using
gameObject.find(“dinner/hunger”).
but dinner needs a different name each cycle so i need something that looks like this
var dish : int = 0;
gameObject.Find(“dinner”+dish “/hunger”);
but i cant work out where to put the child part /hunger any ideas