Hey all, new to NGUI, but I'm getting on OK with it so far. But I've got a bit of a weird case I hope someone can help me with.
I'm working on an inventory and the setup is pretty similar to the NGUI example, in that I've got a panel with collider and scale button script, plus two child sprites (one for background one for icon).
Anyway, my problem is that somehow the icon is being instantiated at the wrong scale. If I modify the scale of the template prefab for the background it works as expected, but if I do the same thing for the icon, it seems to have no effect at all. What's even weirder is that when I first instantiate the prefab the scale of the icon is different than when the panel is activated.
Is there any good place to stick a breakpoint to try and identify where the scale is being changed for the icons? What actually ends up determining what the scale of a sprite is??
Hope someone can shed some light here.