Hi,
I'm trying to create a healthbar at runtime. I made a healthbar prefab, saved with the correct scale and position, and at runtime I create it with NGUITools.AddChild on a ui panel parent. This doesn't keep the scale and position however, it's always reset to default values.
What am I doing wrong? How am I supposed to do this correctly?
Thanks.