Using UnityEvents

Опубликовано: 12 Октябрь 2024
на канале: XR Terra Class
45
0

This video explains how a UnityEvent functions, how to use one to codelessly make changes to properties and call functions on GameObjects in your scene, and how to make your own UnityEvents through code.

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

00:00 Intro
00:39 Declaring a UnityEvent
01:50 Adding a UnityEvent callback
02:47 Function dropdown
03:21 Component properties and functions
04:12 Setting up a trigger button
05:22 Invoking the UnityEvent
06:03 Testing it out
06:29 More kinds of properties
07:35 Removing a callback
07:44 Calling custom functions
09:37 UnityEvents as collaboration tools

Instructor: Gregory Osborne