Unity Tutorial: Using Events
Unity Events allow us to have different things in our game notify other objects when something has happened (Eg. a collision with an object). We can also use Unity Events to pass information through (eg. having a slider in our UI that sends it’s current value to our settings code). In this video we’ll see both how to use existing Unity Events and how to create our own.
Find the code here: https://github.com/GameDevEducation/DevEssential_UnityEvents