Delegates. my understanding about this topic!

Delegates are very useful tools in C# because they can have multiple methods from different classes in one set. And it can be called from everywhere. You don’t need to rewrite the code for every time you just add the new method from another class and the call of the delegates will call all the methods at once. This is very good on level up mechanics, you don’t need an update to calculate to ask , do we reach that level yet , do we reach that level yet etc. When you reach the level , the delegate is called ,and this delegate upgrade all the stats of the character for example . :slight_smile: I hope it will be useful for some people.

1 Like

Privacy & Terms