Author Topic: Instantiate NGUI widget along side game object at run time  (Read 1893 times)

eyali

  • Guest
Instantiate NGUI widget along side game object at run time
« 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

MGB

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Instantiate NGUI widget along side game object at run time
« Reply #1 on: July 10, 2013, 03:57:59 AM »
Have you read the healthbar post? http://www.tasharen.com/forum/index.php?topic=130.0

eyali

  • Guest
Re: Instantiate NGUI widget along side game object at run time
« Reply #2 on: July 10, 2013, 07:04:24 AM »
Thank u  ;)