Hi, and thanks for NGUI - it's great.
I have a couple of general questions regarding scene layout and workflow, which I was hoping you'd be able help me with. Specifically, I'm wondering what the recommended place is for keeping UI components. Should they be kept as prefabs or inactive instances?
If the recommended way is as instances, how do you reference UI components when it comes to activating them? For example, if clicking a door should bring up the 'open door' UI, how do reference that specific UI in the editor? You can't reference it directly in the door, as the UI elements exist across multiple levels and the door is specific to a single level - similarly it's a problem if you need to refer to a UI from a prefab. Using string names to refer to them? Seems a bit sloppy. Something else I've missed?
If, however, the recommended way is via prefabs, is there anything specific you need to know about instancing them? In particular, I've noticed that if I have a UI panel with a scaling tween that goes from, say, 0.5 to 1 in all dimensions, when instanced the panel spends a single frame at full size in the bottom left hand corner of the screen before snapping into the right scale and position.
Thanks in advance for the help, it's much appreciated!
Simon