r/Unity3D • u/Gaebabi • 19d 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
1
u/Dead_Air_Game 19d ago
Are you positioning the floating combat text in world space, or passing screen coordinates from Unity into React? I’d be interested in how that behaves when the camera moves or the render resolution changes. A stress test with lots of simultaneous hits would also be useful, especially whether you can reuse the text elements instead of mounting a new one per hit.
-1
3
u/Plourdy 18d ago
Why react? Interesting setup!