I want to say somethings like..
Gameobject.find(child gameobject of specific parent Gameobject)
Can anyone help me. thanks!
GameObject.Find
will search for a gameobject in the scene. To search a gameobject from a parent, use Transform
.
There are 2 ways of doing it:
transform.Find("childname")
transform.FindChild("childname")
The 2nd option is deprecated but still functional, so you'd better use the 1st option.