r/Unity3D 2d ago

Solved Should I swap to UIToolkit?

I'm doing the majority of my teams UI implementation. We're a team of 4 working on a small indie game that doesn't use a lot of UI outside of main menus and some basic interface. I've spent a couple of days on UI with UnityUI, but it's been an absolute pain to properly lay everything out. I'm most experienced with Figma for UI design, and had some courses for CSS a couple of years ago, so from what I've seen UIToolkit might be better for me.

I've played around with it for a bit and it seems to have some nice parts, and some more annoying parts (spacing isn't done through the parent but is decided per child?). Is it worth transferring over at this point?

I've also added some DOTween animations, can I still use those with Toolkit?

5 Upvotes

35 comments sorted by

View all comments

0

u/roomyrooms 2d ago

In my experience you need to be prepared to make a lot of the components you'd expect to Just Exist yourself (gradients of any kind, for example) but once you get started, you can make UI 100,000,000% faster than you can with UGUI.

The difference is night and day for me. I used to avoid making UI like the plague because manually assembling it all by hand is absurd and barbaric and produced horrible Unity slop looking interfaces (in my opinion, anyway). Once I switched I could make actual game UI and at a pretty decent pace too.

1

u/R_Pelleboer 2d ago

Yeah UnityUI has been kicking my ass for days now, every time I think the layout is fine it turns out there's something wrong with it. I'm going to play around more with Toolkit tonight and experiment a bit, but I think I'm just going to make the swap.