Time to dive into #Unity its UI Toolkit today. I have been postponing this despite not being satisfied with the current Unity UI solution. I mostly wonder if the UI Toolkit is mature enough to use already
@mvriel keep me posted - my guess, it’s not ready yet …
@BellyTree So far I am quite satisfied with the results. It does help if you come from a web development background because it adopts a few patterns from working with CSS; such as influencing styles and animation by adding and removing style classes.
@BellyTree And getting to know the events that it offers helps too. OnTransitionEnd as an event is quite nice as you can more easily perform clean up as soon as an animation ends
@mvriel hmm okay maybe I was just not patient enough. I don’t understand why they had to create USS instead of just using CSS and why do I have to reference elements via strings? That feels super error-prone…

@BellyTree To be fair, I am also not entirely sure why USS and not CSS with prefixed elements for unsupported constructs.. but yeah.

As for referencing elements via strings, this is not too dissimilar to how you do it in HTML/CSS/Javascript using Selectors and is actually quite powerful. And because elements are not game objects, I don't think it is easy to provide another way of linking

@BellyTree I also am actually mildly disappointed that they just didn't go one step further and implement HTML with added custom elements; it would have been awesome to open HTML in-unity that way
@mvriel agreed. Now I am not sure if just embedding a WebView and using your favourite web framework is not easier in the end.
@BellyTree So far I haven't found a reliable WebView for use in Desktop apps and in WebGL apps (especially the last), except for the one from Vuplex. If you have any OSS recommendations, I am all ears :) (for one of my projects I specifically need one that works in WebGL, and is OSS)