Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: badawe on December 03, 2013, 10:36:34 AM
-
I have a 3D camera, and I use that to render some 2D sprites with Panel.
Everything works in the 3.0 version, but now i update to ngui 3.0.6f7 and i can't set the size of game object again.
The sprite have the size of 20x20 but i want to use in gameplay with the size 1x1;
But in this last version, i cant set to 1x1! Every time i change automatically come back to 2x2! What is going on? I'm missing something?
-
It's a safety precaution. You can change it by modifying UIWidget.minWidth and UIWidget.minHeight. That said, I'd advise you to modify the widget's scale rather than shrinking its width and height down to 1.
-
Thanks ArenMook, that´s exactly what I've done.