Answer by jonas-echterhoff
I'm not sure I fully understand what you want to do, but you can try using screen relative coordinates. So, instead of GUI.Label(Rect(10,10,200,200), myTexture);you'd have something...
View ArticleAnswer by Wolfram
You can apply a scaling to all GUI elements, depending on the screen resolution. So somewhere in OnGUI(), call:GUIUtility.ScaleAroundPivot(new Vector2(1,1)*Screen.height/768f,Vector2.zero);Note that...
View ArticleAnswer by reptilebeats
this is what i use it will stretch the image in free aspect, but everything else is fine var xScale : float = 1; var yScale : float = 1; var zScale : float = 0; function Update(){ transform.localScale...
View ArticleAnswer by Meltdown
I found the best way to do GUI texture sort of stuff is to create a simple 2 triangle plane and attach it to the camera.Once you've got it aligned how you want in the view, no matter the resolution or...
View Article
More Pages to Explore .....