- Home /
 
               Question by 
               Sillan · Feb 14, 2013 at 04:29 PM · 
                guiiosresolutionrescale  
              
 
              Rescale GUITexture Android/IOS
Hey guys, Johnny Here :D, I was just wondering if anyone knew how to write a script that would rescale the GUI Textures in your scene to match the device the game is on. Thanks so much :D
               Comment
              
 
               
              Answer by jgalvelo · Feb 14, 2013 at 06:09 PM
You got the math here just in the start function put a script to put the rigth resolution in %
its like Rect temp = new Rect(0,0,Screen.Width 0.5, Scrren.Heigth 0.3); GuiTexture.PixelInsert = temp;
use intelisense to get right words doing a quick write only youl get the idea.
Your answer
 
 
             Follow this Question
Related Questions
IOS Resolution Scaling 0 Answers
Android/IOS GUI Rescale 0 Answers
OnGUI Button 1 Answer
How do I make the size of GUI objects the same across all resolutions? 3 Answers
Resolution Independent GUITexture? 3 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                