Quantcast
Channel: Answers for "GUI texture resolution problem"
Browsing latest articles
Browse All 12 View Live

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 Article



Answer 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 Article

Answer 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 Article

Answer 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
Browsing latest articles
Browse All 12 View Live




Latest Images