Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: eyali on July 10, 2013, 01:55:17 AM

Title: Instantiate NGUI widget along side game object at run time
Post by: eyali on July 10, 2013, 01:55:17 AM
Hi All,

I'm a little confused of how to to the following:

I have a character that I create at run time and I want each character to have near it (say for example above its head or under its foot) couple of NGUI elements attached to it.

How do I do that? the problem is that my character is placed in Unity's world coordinates and NGUI has it own coordinates....

Thank u in advance
Title: Re: Instantiate NGUI widget along side game object at run time
Post by: MGB on July 10, 2013, 03:57:59 AM
Have you read the healthbar post? http://www.tasharen.com/forum/index.php?topic=130.0 (http://www.tasharen.com/forum/index.php?topic=130.0)
Title: Re: Instantiate NGUI widget along side game object at run time
Post by: eyali on July 10, 2013, 07:04:24 AM
Thank u  ;)