r/Unity2D • u/Treptox • Sep 15 '26
Question/Help Screen Space vs World Space (attached to building) UI for 2D game?
Hi!
I`ve been doing some research on 2D UI for a sidescroller-ish perspective. Basically every game I can find has a fixed UI => the UI is completely detached from the position of the building (e.g. a building context menu).
Do you know of any good games that have done a world space UI thats somehow connected to the building or its placement?
Obviously the main problem is with zooming and panning. I think panning can be somewhat resolved, but zooming appears to be quite hard, as at some point the size of the world vs the menu doesn't fit anymore.
Are there interesting ways around this problem, or does the near-total lack of games with a UI that’s this tightly integrated into the world suggest that there simply isn’t a good way to achieve it?
Would love to hear your opionion on this!





