Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on my character menu for an RPG in Unity. I have my menu set up with different buttons for different categories. All is well, except when I re-size my screen, my layout is sized incorrectly. I need my GUI to respond to my screen size. Is there any information or a tutorial I can read?

share|improve this question
@JohnMcDonald I'm not sure I agree with your edit. Responsive is the term used to describe web layouts that react to screen size changes, and I think it's appropriate for a game GUI too. I don't agree that there could be confusion about how quickly a GUI reacts to input (for any non-terrible GUI, anyway). I would recommend a rollback. – Seth Battin Jun 24 '13 at 5:29
Welcome to the site. Although you don't know where to begin searching, you are essentially asking for a tutorial on this subject. That's outside the guidelines of what should be asked on this site, which is why I voted to close it. But, here is a question that ought to get you pointed in the right direction. Good luck in your research! – Seth Battin Jun 24 '13 at 5:34
Quite a lot to read... Thanks @SethBattin. Also, responsive is exactly what I meant. My GUI system is actually based on a pseudomorphic Tablet Application. What I mean is, my GUI is created as my player plays an animation of taking a tablet out and turning it on. The GUI is just an app. – vulgarknight Jun 24 '13 at 7:00
@SethBattin, rolled back. I did not recognize it as a common term in the web world. – John McDonald Jun 24 '13 at 15:38
What are you currently doing? Are you using UnityGUI or some other middleware? – Tetrad Jun 24 '13 at 17:02
up vote 1 down vote accepted

I'm disturbing an old thread but I feel it's worth it. You can use the all new unity 4.6 with a great UI system. The anchors is the magic word you should look for. Setting the anchors of the UI elements to their corners will make them responsive. It is as simple as that.

share|improve this answer

I resolved my issue. I accomplished this by creating a ratio based on target screen sizes and actual screen sizes. This ratio is then applied to static value coordinates.

share|improve this answer
Please accept your own answer. – sm4 Jun 25 '13 at 3:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.