- Home /
Question by
convictcartel · Jan 09, 2014 at 06:55 AM ·
guitextureresolutionguitexture
GUITexture placement - Screen Resolution
I have two macro GUI textures that I want to be at the bottom middle of the screen and was wondering if there was a code I can place on them to change it to stay at the place I want regardless of the screen resolution? Thank you!
Comment
Answer by Eric5h5 · Jan 09, 2014 at 07:00 AM
GUITextures use viewport space, which is normalized. So (0, 0)--the x and y position--is always the bottom-left and (1, 1) is always the top-right regardless of resolution.
Your answer
Follow this Question
Related Questions
Fuzzy/Blurred Texture2D OnGUI problem 1 Answer
Best way to show an image 2 Answers
GUI Positioning Problems 1 Answer
GUITexture HitTest not registering 0 Answers