C# Events & Delegates
https://www.youtube.com/watc...Events are great for crossing boundary lines in your application or game without coupling components together. Objects can subscribe to an event and be notified whenever the publisher performs a specific action.
Delegates are the building blocks of events, so listen closely and you'll learn all about them!
â¤ď¸ Become a Tarobro on Patreon: https://www.patreon.com/tarodev
=========
đ SUBSCRIBE: https://bit.ly/3eqG1Z6
đ¨ď¸ DISCORD: https://discord.gg/tarodev
â
MORE TUTORIALS: https://www.youtube.com/tarodev
0:00 - Delegate keyword
3:48 - EventHandler
4:34 - Action
5:13 - Generic Action
6:02 - Func
6:40 - Practical Example
7:50 - Static
9:05 - Event keyword
10:20 - UnityEvent
12:30 - Unsubscribing
14:50 - Decoupling
16:20 - Delegates as parameters