Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Justion_Ko on December 13, 2013, 08:06:52 AM
-
I have a scene which use NGUI 3.0.5 .In the scene i use a sprite with 1024x768 size as background.
Then i build it to a desktop exe, when i run the exe ,choose 1024x768 resolution and uncheck "windowed" , then the exe run into full screen mode.
And then there the problem comes:the background sprite fix its size as 1024x768, but my screen device size is about 1900x1024, in usual way when I use GUI.DrawTexture in this case, the texture will scale ,but NGUI does not scale.
I have tried to attach "UIStrech" to the sprite and choose style as "Both", but it still dosent scale to full screen.
Please give a way to solve this problem ,thanks.
-
First, upgrade your NGUI to the latest version.
Then watch the "new layout system" videos that were released with 3.0.7.
Lastly, look at "Example 1" that comes with NGUI.
-
thanks , it works!
;D ;D