Exploring UI Toolkit in Unity 2023.2 - Live Session

preview_player
Показать описание
In this live session, we'll take a look at some of the changes to UI Toolkit in 2023 and explore how they can be integrated into a project to build out runtime UI.

In this more relaxed format you can watch along and ask questions as we explore this topic together!

--------------------------------------------------------------------------------
Want to support the channel?

Use these links to grab some cool assets from the asset store:

--------------------------------------------------------------------------------
Socials and Other Stuff:

Рекомендации по теме
Комментарии
Автор

After more digging, it turns out that Localization support into the bindings system is a feature that's going to be supported in 2023.3 -- and the project is currently 2023.2. Which is why I was struggling to figure out how to do it. I did however learn how to get bindings supported in custom properties you need to ass the [CreateProperty] attribute! I'll go over this at the start of the stream next week.

GameDevGuide
Автор

Glad to see you diving into UI toolkit more. I've been using it a while and it definitely has pros and cons. I'm a fulltime frontend web developer and UIToolkit currently feels a bit like webdev 10 years ago with jQuery.

Super excited to see you did streams on the node graph UI, will be checking that out next!

JoeTheis
Автор

cool video, but I hope there will be a summary video on Unity ui toolkit. This video is sooo long~

yfchan
Автор

i think the reason why youre not able to preview a custom element is coz of how you add the style. it would only take effect once the element is in the hierachy. i realized this when i tried to get the root element in the constructor, it had errors since the script itself will always bbe in the folder n not the hierachy. its like a prefab trying to access gameobject in the scene, while its in the folder and only its instance can be in the hierachy. so i i think if you get the style from resources it will preview since ur getting from folder first. but adding directly works for elements in the hierachy. thats my theory tho.

yours_indie_game_dev
Автор

How to modify the size of Tab Icon in TabView?

AIGameMonster
Автор

What's the mesh graph asset you use at the end?

matt
Автор

UI Toolkit is powerful, but I empathize with the struggles here on data binding. Unity's documentation on UI Toolkit is honestly ghastly. Filled with tons of boilerplate, and you never know which of it is mandatory. They refuse to use straightforward examples. You must carve off an entire day (or more) just to read and absorb the documentation to figure out how to do the simplest things. It doesn't help that the older, more verbose system pollutes the search results.

That said, I have extensive experience with HTML, CSS, and React, so I have forced myself through the pain of learning UI Toolkit.

ArgentFox