Hi,
I am trying to develop a unity plugin that is making screenshots for iOS, Android & WP8 Stores.
There are many different resolutions.
The problem is that NGUI is not updating when I am changing screen resolution.
Screen.SetResolution(width, height, false);
After changing resolution, I am waiting for 5 frames.
This is the way I am taking screenshots:
Texture2D screenShot
= new Texture2D
(width, height, TextureFormat
.RGB24,
false);screenShot
.ReadPixels(new Rect
(0,
0, width, height
),
0,
0);screenShot.Apply();
How can I update NGUI to match my resolution?