- Home /
Where does GUI end up?
I know GUI is usually stated with 4 numbers, if(GUI.Button(Rect(XXX,XXX,XXX,XXX) but i have no idea which places mean what. Like which one is height? width? X or Y?
I have attached a photo of where i want a rectangle. Can you please tell me the estimated coordinates of the very top most rectangle and what goes where when making GUI buttons?
I am Using a 1920 x 1080 resolution screen aka 1080p, Im not sure if that matters.
Answer by getyour411 · Apr 22, 2014 at 02:05 AM
X,Y,W,H
Thank you, can you also give me an estimated coordinate of the top most rectangle in this picture assu$$anonymous$$g the rest of the white space is your screen if first person? (i forgot to attach it)
Start with something like Screen.width-yourRectWidth
This isn't something that should need more commenting on from UA, it's trial and error to your design/eye
Your answer
Follow this Question
Related Questions
One Last GUI Question 1 Answer
Resolutions 1 Answer
GUI in the middle of the screen 1 Answer
How To Make GUI Buttons Load/Quit 1 Answer
GuiTexture Width Change 1 Answer