- Home /
This question was
closed Oct 23, 2013 at 01:20 AM by
meat5000 for the following reason:
The question is answered, right answer was accepted
Child Transform
How can I get the transform of a child that is holding a certain script?
Comment
Best Answer
Answer by syclamoth · Jan 08, 2012 at 02:03 AM
If you are using C#, you do it like this-
GetComponentInChildren<CertainScript>().transform
If you are using JS, it's like this-
GetComponentInChildren(CertainScript).transform
Follow this Question
Related Questions
Trying to rotate child independently of parent... 0 Answers
Moving multiple objects(same objects) in different directions 1 Answer
Separate child rotation 1 Answer
Assign parent object to target 2 Answers
Delete children of Instantiated object 2 Answers