UI Canvas In Unity

Опубликовано: 29 Апрель 2026
на канале: XR Terra Class
1,031
18

This video explains the basics of Unity's Canvas system for User Interface. We discuss Buttons, Sliders, Input Fields, Toggles, and Dropdown Menus. We explain how to use Unity Events to make changes in your scene, and we discuss the different between Unity's legacy Text system and the Text Mesh Pro package.

XRTerra Links:
Programs and Courses: http://www.xrterra.com/programs
Newsletter Signup: https://www.xrterra.com/mailing-list-...

00:00 Intro
00:43 The Canvas
01:08 Event System
01:30 Canvas Render Space
02:30 Canvas Hierarchy structure
02:54 Rect Transform
03:48 Making a button
04:15 Looking at everything that got created
04:39 Replacing Event System Input Module
05:37 Testing Button
05:53 Rect Transform Anchors
07:57 The button's Image component
08:59 Button component colors
09:41 OnClick() UnityEvent
10:15 Creating a cube to toggle
10:37 Creating a callback
12:13 Testing disabling cube renderer
12:40 Introducing Text Mesh Pro
13:08 Difficulties with default Text
13:57 Importing TMP Essentials
14:46 Text Mesh Pro button
15:24 Reenabling the cube renderer
15:46 Text Mesh Pro component
16:27 Testing reenabling cube renderer
16:44 Images and Sprites
17:30 Slider
17:57 OnValueChanged(Single)
18:57 Changing light intensity with slider
19:24 Dynamic properties
19:58 Testing light slider
20:24 Slider minimum and maximum values
20:53 Dropdown menu
21:45 Input Field
22:26 Editing button text with Input Field
23:13 Testing button text input field
23:35 Toggle button
24:20 Toggling the cube
24:59 Outro

Instructor: Gregory Osborne