Build Draggable Windows with Unity UI Toolkit | Inventory & Equipment Pt. 1
Автор: Stacey Haffner
Загружено: 2026-03-20
Просмотров: 192
Описание:
Note: This is Part 1 of Build Inventory & Equipment Systems with Unity UI Toolkit, a beginner series that teaches the foundations of UI Toolkit.
In this tutorial you'll build a reusable window system that you can drag around by the title bar, toggle on and off, click to bring to the front, and persist positions between game sessions. While no prior UI Toolkit experience needed, it is assumed that you are comfortable with the Unity Editor and C#.
Be sure to subscribe so you don't miss part 2, which goes deeper in design by building out the full inventory UI!
Resources
Starter project and source code: https://github.com/Yecats/youtube-res...
Timestamps
0:00 - Intro
0:09 - Project Setup
0:29 - UI Builder Overview
1:47 - Design the Window
13:47 - Set up the hierarchy
14:58 - WindowDragManipulator Class
18:05 - WindowManager Class
20:45 - GameWindow Base Class
22:57 - UIController Class
24:15 - Testing in Play Mode
24:47 - Wrap up
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: