Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Tuss on August 14, 2014, 04:37:52 PM
-
Hi everyone, :)
I have a question on grouping 3D objects into one Parent.
EmptyGameObject
-> Cube
-> Cube
-> Cube
Using my hierarchy above as an example, I would like it so that clicking on any of the 3 Cubes will call the "On Click" message of their parent, WITHOUT the Cubes themselves having any NGUI components.
Is this possible?
Best
- Troy
-
Put a rigidbody on it.
Might need the latest NGUI from the Pro repository though... I don't remember if it's a 3.7.0 feature or not. Might be, in which case -- wait for tonight's update.
-
Hi ArenMook,
At the moment, I have tried with just a rigidbody and it still won't pick up my click message, unless I add a collider to the EmptyGameObject. However, I will try adding a rigidbody again with tonight's patch.
Thank you for the assistance. : )
- Tuss