- Home /
 
 
               Question by 
               Avisingh · Jun 06, 2013 at 12:23 PM · 
                guitextureresolutionaspect ratio  
              
 
              GUI Texture Control Problem !!!!!
Hi
I have a 2D Texture Background which is drawn like
GUI.Drawtexture (new Rect( 0,0,Screen.Width, Screen.Height),BackGround);
and another texture say Table or ScoreBoard drawn with in it...
GUI.DrawTexture(new Rect(50,50, 500,400), ScoreBoard);
say now their is change in resolution and all the things go messy........... so is their any way so that i can change the positions or scale them according to ASPECT RATIO or with Change in RESOLUTION to control it in different scaled devices.
Thanks in Advance
               Comment
              
 
               
              Answer by Ben-Stoneman · Jun 06, 2013 at 01:42 PM
Yes, It is possible.
The following thread explains how to make the GUI resolution independent:
http://forum.unity3d.com/threads/50889-GUITexture-amp-Screen-Size
Your answer