- Home /
Question by
zomdiax5 · Dec 22, 2018 at 03:01 PM ·
c#scripting problemparentchild
How do i find the closest child?
i have a cube that has a child object (a sphere).. How could i refrence that sphere in a script that is on the cube?
Comment
Best Answer
Answer by fafase · Dec 22, 2018 at 03:25 PM
Drag and drop in the editor or GetComponentInChildren.
Your answer