Unity: Event scripting basics - Make your scripts more usable in under 7 minutes

Channel:
Subscribers:
210
Published on ● Video Link: https://www.youtube.com/watch?v=ZDBP0CcNIVI



Category:
Tutorial
Duration: 6:49
67 views
3


In my opinion, the Unity editor event interface is so handy we should be using it more often.
Example 1 - How to invoke events on a timer with the editor event interface.
Example 2 - How to invoke events when a video is complete with the editor event interface.

0:00 Intro
0:30 Start Events - The Interface
1:45 Start Events - The Script
3:15 Video Player Events - The Interface
4:20 Run the video example
4:30 Happy birthday to the GROUND!
4:50 Video Player Events - The Script
6:25 Thanks for watching!

For scripts that run over time, control animation, sound, run coroutines, change values over time, events' editor interface is super useful.
It makes scripts as easy to use in-editor as the Button component.

This is a 'getting started' introductory tutorial.
But - for experienced coders - this is a reminder to use editor event interface on your Unity components!







Tags:
Unity
Scripting
Events
Tutorial
C#
Easy
How to