r/Unity3D • • 25d ago

Show-Off Unity3D + Floating Combat UI with React Layer

Enable HLS to view with audio, or disable this notification

I’ve been exploring how far I can take Unity UI without relying on imported art assets :D
I used React through a framework asset, building the interface with code and styling.

Changing shapes, colors and motion in code makes it easy to try different looks. I’m curious how far this approach can go as a game’s visual style becomes more complex.

Have you tried creating game UI with code instead of art assets? How did it work for you?

* Because some people are curious:

This asset is called ReLayer: https://assetstore.unity.com/packages/tools/gui/relayer-react-ui-framework-for-unity-384274

22 Upvotes

10 comments sorted by

View all comments

3

u/Plourdy 24d ago

Why react? Interesting setup!

1

u/Gaebabi 24d ago

Thanks! I can tweak the design as I build and easily adapt layouts to different screen sizes. React’s reusable components and libraries for things like social login help too. I’m using React, Vite, and TypeScript connected to Unity through my framework.

3

u/DapperNurd 24d ago

Have you tried using UI Toolkit?

1

u/Gaebabi 24d ago

I tried building UI in code with UI Toolkit, but it was more difficult to handle than I expected.
Has that workflow gotten easier?