- Home /
Question by
Tyler Alvis · Jan 15, 2011 at 06:16 AM ·
child-to-gameobject
how to make a game object a child of antohter while game is playing
i am making a ninja game and when you aproach the sword a GUI will pop up saying press this button to eguip, and my problem is i don't no how to script it so when you pick it up it becomes a child of the character. If you could show me how to script that (preferably in javascript) that would be great!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613095545im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
how to make a game object a child of antohter while game is playing 2 Answers
adding collider to a child object (script) 1 Answer
Scripts still functioning even if UN-checked in editor? 1 Answer
Audio help. 1 Answer
Score and Level Loading 1 Answer