i am new in unity. how to make a parent child relationship?
Comment
Answer by Landern · Nov 09, 2016 at 06:17 PM
Either make something a child of say a Empty(or not) GameObject in the inspector or assign the Transform.parent to another Transform(Say gameObject.transform). You can see examples in the documentation of how to do it in code, in the inspector just drag and drop over the gameobject parent you want to make the dragged gameobject/prefab/whatever the child.
or
Your answer
Follow this Question
Related Questions
I am having a problem with my cursor when I hover over a Game object? 0 Answers
Is it possible to have a in-game coding mechanic? 0 Answers
I get a white screen when trying to upload custom SDK packages. 1 Answer
Bad quality UI sprites 1 Answer
Setting localposition to a vector 3 sets everything but the x 1 Answer