#Unity UI vs UI Toolkit
1 messages · Page 1 of 1 (latest)
If you've ever done something close to webdev, then ui toolkit is like that.
yeah I saw some tutorials on UI toolkit and they were using CSS
but I can't find any guides or info on why someone would use UI toolkit over the default ui system
I was a webdev before so 🤔
It gives you the ability to create UI in a similar way HTML/CSS works.
And the DOM
default unity UI (UGUI) uses GameObjects and Components. It's very "unity", probably too much so.
Does it make it easier to control for example the font of all your UI elements?
Or is that just as easy with the default system? (How?)
It's way easier with UI Toolkit
because you can use CSS
There's no simple way to do that with UGUI
That exact thing is what CSS is explicitly designed for.
Consider the canvas approach as the older implementation. Ui toolkit is a relatively recent addition, but unity promotes it to be used more, so perhaps they're gonna make it the main ui workflow at some point.