- Home /
Question by
shaima_majeed · May 22, 2014 at 03:41 PM ·
colliderchild-to-gameobject
adding collider to a child object (script)
Hi, how can i add a collider to a specific child. I can get the transform, is there a way to get the child as a game object so that i can add the collider through script?
Comment
Best Answer
Answer by MakeCodeNow · May 22, 2014 at 03:42 PM
That's very easy. It's just child.gameObject.