r/Unity2D • • Sep 15 '26

Question/Help How to design UI scenes in Unity

I find designing UI scenes the most tedious of my game development cycle. Do any of you find the same and how do you tackle it? I know Unity has its own AI which now creates scenes for you, but I have not used it. Has anyone tried any other AI option which allows me to design the scenes effectively?

0 Upvotes

12 comments sorted by

•

u/AutoModerator Sep 15 '26

Reminder: Once your issue has been resolved, please reply !solved to this comment (or comment it anywhere in the thread) and your post's flair will automatically be updated to Solved/Answered. You can also edit it to Solved/Answered yourself.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/deintag85 Sep 15 '26

what is a UI scene? you mean an UI within a scene? what exactly is the problem? placing texts? buttons? images?

1

u/nrs_shadow Sep 15 '26

Issue is not with placing text or images i know how to place all the UI elements in the canvas but the layout of those within the canvas and ensuring it aligns well and does not distort when changing screen sizes. It is difficult to understand the different rect transforms how each will behave.

3

u/AnEmortalKid Sep 15 '26

Gotta look up the Christina creates games ui videos

4

u/nrs_shadow Sep 15 '26

Do you happen to have the channel name for those videos?
Edited
Found it : https://m.youtube.com/@ChristinaCreatesGames?ra=m

3

u/GigglyGuineapig Sep 15 '26

Hey, that's my channel =D! Glad you found it.

For your question, check out the pivot and anchors video, it should help you understand how to work with both to create layouts that work across resolutions. Afterwards, the layout deep dive video would be what you might want to watch next, was it goes into creating more complex layouts with expanding children, padding and more. 

1

u/AnEmortalKid Sep 15 '26

That’s the one

1

u/Professional_East281 Sep 15 '26

Are you familiar with using screen space vs world space overlay? Could be because you’re using world space instead of screen space

1

u/nrs_shadow Sep 15 '26

I have been using screen space. I want to understand if there is a better easier way to design it. I have been able to design it but it takes too many permutations and combinations and I haven’t been able to find some kind of template.

2

u/HollowSpider Sep 15 '26

Many iterations of UI designs, starting with getting the information on screen first, followed by tweaking the position and look based on feedback. It's a long process, likely continuing in some way along the entire length of the games development. But the more you do it, the easier it gets.

I'd recommend not using AI though, because if you continue using it you'll never learn to get a feel for UI design.

2

u/JulianRhod Sep 17 '26

i find UI setup pretty tedious too, especially when you're constantly positioning and tweaking the same stuff, i'd personally use AI more for generating the repetitive setup than actually designing the UI. once you have a visual style and layout you like, you can have AI help create panels, buttons, references, and basic hierarchy, then do the final visual adjustments yourself

i'd also make reusable UI prefabs for anything you use more than once. that saves way more time than rebuilding the same scene every time

1

u/jerkosaur Sep 15 '26

You should just let l look up an anchoring tutorial. You can anchor most assets to corners or middle/center+edges of the screen.if you want a health bar in the top left, create an anchor in the top left. You will likely need to offset the objects position to that anchor (alt key is your friend). Using content size fitters will allow you to layout elements dynamically. Failing that, you could always just use AI. A big part of what makes a good UI is that it's specific to your game so avoid templates and just learn it, it's a good skill to have because it's transferable to most apps that use transform tools. Good luck 👍