Hi, I need to do a simple thing. Given any GameObject A, I need to obtain the GameObject B who is a child of A and its name match a string passed as parameter. Now, GameObject class provides a GetComponents method which returns all children of a given type. I suppose i could do a A.GetComponents(GameObject) but c# compiler complains because GameObject is not a Component. As an example, take the Car tutorial. The car object has a WheelFL child. I need a method to obtain this WheelFL object using only its name and not its type.
Any help is appreciated