Hello, here's a problem I'm trying to solve:
Setup:
I'm using Unity2d. I have many game objects, most with normal sprite renderers. Some are animated (just tweening transforms). Some have multiple sub-objects (imagine a character wearing equipment where each piece of equipment is a sub object).
The Problem:
I have UI elements where I'd like to display these game objects with their sub-objects fully intact, and hopefully also with their animations. These UI constructs would be things like info windows, character dialogs, store catalogs, etc.
I haven't yet figured out how to integrate these normal game objects into NGUI. I try adding UI Anchors to them and parenting them in the editor in the UI heirarchy under UIRoot in hopes of placing them in an item grid or drag view or just a normal panel. But when I run the code, these normal game objects' positions and scales change, as if they aren't part of the UI structure.
Is there a standard way to solve this problem?
(I asked a similar question recently, but this is more generalized.)