- Home /
This question was
closed Sep 29, 2017 at 02:59 PM by
whaleinthesea for the following reason:
Problem is not reproducible or outdated
How can I set a GUI.box` align point?
I know there is a function to set the text-alignment but I can`t figure out how to set the box` align-point. It is aligning at the upper-left corner, but I want to align it in the center screen.
Comment
Answer by Nirvana33 · Aug 20, 2015 at 06:13 PM
GUI.Box(new Rect(Screen.width/2,Screen.height/2,300,300),"Center");
Follow this Question
Related Questions
GUI Texture on bottom left/right corners 3 Answers
How to find all GameObjects within a specific field of view/box 2 Answers
Countdown remove gui.box 2 Answers
Rendering a portion of a texture using GUI.Box()? 5 Answers
Resizable GUI box how to? 1 Answer