Loading...
アイコン

Tarodev

チャンネル登録者数 10.1万人

9.7万 回視聴 ・ 4187いいね ・ 2022/03/18

C# Events & Delegates

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: www.patreon.com/tarodev

=========

🔔 SUBSCRIBE: bit.ly/3eqG1Z6
🗨️ DISCORD: discord.gg/tarodev
✅ MORE TUTORIALS: 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 paramete

コメント

コメントを取得中...

コントロール
設定