filmov
tv
UI Toolkit for Runtime [Unity] 5/10 - UI elements, styles and stylesheets

Показать описание
Create a runtime interface of a simple game, using UI Toolkit - UIElements.
In this lesson:
- Using a first UI component - a button
- Creating a stylesheet and styles of the button in different states
0:00 In this section & lesson
0:16 Create a button and set its style
1:45 Create a stylesheet
3:34 Add the button style to the stylesheet
5:52 What is a class
6:44 Class variations - pseudo classes
8:02 Hover & active variations
11:36 Conclusion
---
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.
---
⠀
⠀
In this lesson:
- Using a first UI component - a button
- Creating a stylesheet and styles of the button in different states
0:00 In this section & lesson
0:16 Create a button and set its style
1:45 Create a stylesheet
3:34 Add the button style to the stylesheet
5:52 What is a class
6:44 Class variations - pseudo classes
8:02 Hover & active variations
11:36 Conclusion
---
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.
---
⠀
⠀
Комментарии