Рет қаралды 30,177
Learn how to set up a UI built with UI toolkit for use during gameplay. This tutorial shows the creation of the UI document, basics of stylesheets styling, how to query UI visual elements, and how to create an event callback on button clicks with UI toolkit UIs. Video is meant to be a introductory guide for beginners.
Scripts and Assets ➣ / 76314316
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
/ christutorials
chris-tutorials.itch.io/
linktr.ee/ChrisTutorials
◢ Chris Recommends ◥
Master Skills with Skillshare Video Courses ►► www.skillshare.com/r/user/chr...
Save Money Shopping Online with Honey Extension ►► joinhoney.com/ref/qd04c25
00:00 - What to Expect
00:16 - Scene Setup
00:45 - Make UI Document
01:12 - UI Builder Window
02:10 - Making a Unity Stylesheet
03:21 - Stylesheet Class Targeting
04:51 - Show UI Document in Game
06:52 - Creating a Button Child UI Document
08:58 - Writing a Button Click Event Callback
13:24 - Wrapup