- Home /
This question was
closed Jun 27, 2012 at 11:44 PM by
Wolfram for the following reason:
Duplicate Question
Unity 3d C# GUI box goes off to the side needs to be in the center of the screen
My GUI Box keeps going off to the side of the screen when it resolution changes. How do you get a GUI element to remain in the center of the screen no matter the resolution?
Comment
Is this UnityGUI in OnGUI, or is this a GUITexture? Either way, this has been asked (and answered) quite often already. Please use the search function. Also note that the very first link under "Related Question" already contains the answer to your question with a 98% likelyhood.
Follow this Question
Related Questions
C# Physics.SphereCast Center of Screen 2 Answers
GUI.DrawTexture Center on screen 1 Answer
Issues creating a progress bar 1 Answer
Issues with Render Texture 1 Answer
C# GUI Button 2 Answers