It may seem like I didn’t look, but I went through quite a few “forms” and found nothing. I need to find the child inside of a parent that I know the name of but, not the child’s name because the child is always changing. So I can’t have the name of the child, and if I did know the name of the child I wouldn’t be here.
- if you know the type some component on the child you can use
Unity - Scripting API: Component.GetComponentInChildren
- if you have tagged the prefab with a specific tag you can use
FindWithTagUnity - Scripting API: GameObject.FindGameObjectsWithTag
I would stick with the first approach if possible. it will sort through the entire hierarchy for that object and find the gameobject with the specified script/component