UI Toolkit for Runtime [Unity] 9/10 - Connect data with the UI

preview_player
Показать описание
Create a runtime interface of a simple game, using UI Toolkit - UIElements.

In this lesson:
- Creating a game screen
- Bind and update the data, with it's UI representation

---

Unity introduced the UI Toolkit (previously called UI Elements) to move
from the current UGUI and even older IMGUI to a new system,
based on standard web technologies: CSS and XML.

---

● Why learn UI Toolkit now?

It is still in a beta version, but you can already prepare for the future.
Unity has decided this new system will eventually become the main supported framework,
both for runtime and in the editor.

---

● In this tutorial you will:

- Learn the basic concepts of the modern UI framework, based on CSS and XML.
- Discover UI Builder to create UI documents and styles.
- Implement interactive elements, like buttons and labels.
- Create simple transitions between panels and screens.
- Learn how to connect data with the interface elements.

This tutorial is based on one project.

---

● Why learn from me?

I have been a Unity programmer for more than 5 years and delivered over 20 different projects.

I know how difficult it sometimes is to implement
new frameworks and technologies introduced by Unity.
Especially the ones that are still in a beta version.

---


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

Thanks! Pretty nice series, not too many UI Toolkit tutorials exists yet.

ss
Автор

Why are you typing void functions as IEnumerables?

cunningfox
Автор

Really nice series - thanks for sharing!

gazeth
Автор

Bit outdated, this API has changed a lot. For one thing, you should now be using RegisterCallback() rather than adding to clicked delegate.

MediaFilter
Автор

What happened to tutorial 10/10??? UI Toolkit is no longer in preview, it is part of Unity by default now. This makes your tutorials even more valuable than they already are. It seems that they could also use a little updating to the core version now being used.

randolphjand
Автор

Great intro to UIToolkit, thanks. The question is how much animation can one add to these UI elements and the transition between the screens?!

gamedeveloper
Автор

Hey! nice tutorial easy to follow. Just one detail how can i go back and forh beetwen game scenes?

lebroli
Автор

Hello. Do you know of a way to modify some style properties of an object, Like position?

unflexian