For the life of me, this seems like it should be simple, but I haven't been able to find the answer.
I am using NGUI extensively with many features, with one of them being a custom inventory system.
I want to instantiate, or add a child to the UI a 3D prefab of the inventory item and spin it, and just need way to have the items scaled automatically to fit the UI space. For example there's a huge size difference between a staff and a potion, so scaling is required. I prefer not to make yet another prefab of every inventory item just to fit in the UI.
Does anybody know a way this can be done?