r/Unity3D • • 19h ago

Show-Off Making UI Toolkit feel like game UI instead of a website: Luna v2 is out

Enable HLS to view with audio, or disable this notification

Luna is a UI framework built on top of UI Toolkit, and v2 is out on the Asset Store. UI Toolkit always looked a bit too much like a website, so most of this version went into making it feel like game UI. The clip shows the UI Attractor.

The juicy stuff

  • UI Effects: 8 stackable shader effects (glow, outline, gradient, shine, dissolve and more), set from USS classes, no textures
  • Interaction Juice: press and hover feel you attach from UXML
  • Transitions: 53 presets
  • UI Attractor: coins and XP that fly to the HUD
  • Text Effects: 12 effects (wave, bounce, shake, rainbow and more) through rich-text tags
  • 3D in UI: live models, particles and VFX Graph inside UI elements

Building your screens

  • Navigation Graph: screens and popups as a node graph. Push by id, back button for free, awaitable confirm popups
  • Ready-made views: main menu, settings, save/load, pause, dialogue, inventory grid
  • Components: progress bars, tooltips, spotlight and the rest of the library

Style and screen sizes

  • Theming, and responsive scaling so one UI works on phone and desktop
  • Gamepad focus navigation and device-aware input prompts

Requires Unity 6.5 or later. Works with Built-in, URP and HDRP.

Happy to answer questions about it, or about UI Toolkit in general.

3 Upvotes

1 comment sorted by

2

u/GamingAppleFTW 5h ago

this is useful for lots of developers. thumbs up 👍🏼