What are delegates in C#? How can they be used in Unity?

Опубликовано: 23 Сентябрь 2026
на канале: Лавка Разработчика
7,213
375

Support the channel:
https://www.donationalerts.com/r/game...
https://paypal.me/gamedevlavka

Another mini-lecture, this time a full analysis of delegates (delegate, Action, Predicate, Func—that's all). What they are, why they're needed, and what useful things can be gleaned from their functionality. This information will be useful for both junior and mid-level developers, especially Func. I tried to make everything clear, but I have a feeling it didn't turn out quite right. Be sure to leave your thoughts in the comments! Thanks :)

___
Follow the Developer Shop on other social media, join us!

https://t.me/gamedevlavka - Developer's Shop Telegram channel
https://t.me/gamedevtavern - Cool chat
  / discord   - Discord
https://vk.com/gamedevlavka - VKontakte

__________
0:00 Introduction
0:42 Explaining the details of the example
3:10 What are delegates?
8:07 Why the event keyword?
13:10 What is an Action?
15:25 What is a Predicate?
16:36 What is a Func?