|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/modern-unity-ui-with-ui-toolkit/
课程评论:没有评论
## Unity UI Toolkit 现代UI开发课程概述 本课程是Unity UI Toolkit的深度探索。您将学习UI Toolkit的绝大多数组件,并能够为您的游戏或应用创建复杂的UI系统。课程结合了理论与实践,将创建几十个小型的UI组件和示例。此外,还将有一个课程项目,用于巩固各章节所学知识。最终,我们将整合所有内容,打造一款功能齐全、基于UI的游戏。虽然本课程不完全深入编辑器脚本,但大部分内容同样适用于编辑器脚本开发。 **核心学习内容包括:** * **UXML 和 USS 文件理解:** 掌握UI Toolkit的基本构建块,理解可视化树的概念,以及结构、样式和行为分离的重要性。 * **Flexbox 布局:** 学习UI Toolkit中与Web技术相同的Flexbox布局系统。 * **模板:** 学习如何通过模板重用布局。 * **事件与事件传播:** 深入了解UI Toolkit的事件系统及其现代功能,如事件传播。 * **UQuery:** 学习如何使用UQuery高效地查找UI元素,实现脚本与UI的连接和操作。 * **数据绑定:** 探索在运行时手动实现数据绑定的工具和技术。 * **自定义组件:** 学习如何创建自定义UI控件,构建可重用的UI元素库。 * **Manipulators:** 学习如何将特定元素的行为封装到Manipulators中,实现关注点分离。 本课程还将涵盖更多相关内容,帮助您成为一名熟练的Unity UI Toolkit开发者。
This course is a deep dive into Unity's UI Toolkit. You will learn most of the components that make up UI Toolkit and be able to create complex UI Systems for your games or apps. This course uses a mix of theory and practice. We will create dozens of little UI-Components and examples. Furthermore, we will have a course project on which we will practice what we learned in the particular chapters. Finally, we will bring it all together and create a fully functional UI-based game. While this course is not explicitly covering Editor Scripting most of the content in the course will also apply to it.Here are some of the topics that we will cover:Understanding UXML and USS FilesUnderstand the basic building blocks of UI Toolkit. We will talk about the concept of a visual tree and why it's a good idea to separate structure, styling and behavior.Layouts with FLEXBOXUI Toolkit uses the Flexbox system which is also used in web technologies. TemplatesWe will learn how we can reuse pieces of our layout with templates.Events and Event PropagationNo UI System can function without events. UI Toolkit has its own Event-System with modern features like event-propagation which we can use to our advantage.UQueryUnity is still a game engine, so more often than not most of your work will be done through scripts. U need an efficient way to connect your scripts and your UI and manipulate certain elements of your UI. In order to do that you first need to find those elements. UQuery provides a comfortable way how you can do that.Data BindingWhile for editor scripting there is already a system in place which helps you bind your data to your components, this is not the case for runtime. Therefore we will look at some tools and techniques how you can do this manually.Custom ComponentsUI Toolkit has a library of several build-in controls, but obviously, those can not cover every use case that you might come across. In this section, we will see how to create our own controls and thereby create our own little library of reusable UI Elements.ManipulatorsOne rule of good software development is the separation of concerns. In this section, we will learn how we can group the behavior of particular elements into manipulators.and much more...