|
How do you reference the instance of a subobject, as opposed to the subobject in the original object?
var o:GameObject = Instantiate(growStick,coord,Quaternion.identity);
var e:GameObject = o.Find("extender");
For some reason, the e reference always refers to the extender subobject in the original and not the clone. When I try using:
(comments are locked)
|
