Events And Delegates - Write Clean Code! || Unity, C#

Опубликовано: 12 Ноябрь 2024
на канале: Freedom Coding
217
12

Events and delegates in Unity, C# will help you to further decouple your code to make it more organized and flexible. I will explain to you delegates, funcs, UnityEvents, lambda operators, and the event keyword.

👍 Like and 🔔Subscribe for More Unity and C# Tutorials    / @freedomcoding  

🌟 Support My Work and Unlock Exclusive Content! 🌟
👉 Patreon:   / freedomcoding  

🎮 Join Our Developer Community!
💬 Discord:   / discord  

💖 Support Me Financially
☕ PayPal, Revolut: [email protected]

Are you looking for a Unity/C# tutor? Contact me here - [email protected]
Website - https://www.freedom-coding.com

Timestamps:
00:00 Setup
00:32 Delegates
03:45 Dont Forget Null Check!
04:17 Delegates
05:08 Event Keyword
06:39 Lambda - Anonymous Mehod
08:00 Func
09:16 Unity Event
10:49 Example 1
11:39 Example 2
12:46 Example 3