Delegation In C# - Delegates And Events And How To Use Them In Unity

  Рет қаралды 9,864

Awesome Tuts - Anyone Can Learn To Make Games

Awesome Tuts - Anyone Can Learn To Make Games

Күн бұрын

Пікірлер: 40
@gutozardy
@gutozardy 5 жыл бұрын
Finally I found a good tutorial about delegate and events. Thank you.
@MarkusMachtSpiele
@MarkusMachtSpiele 6 жыл бұрын
One of the best unity tutorials I ever seen. Clear, simple and informativ. Great
@zetty8977
@zetty8977 5 жыл бұрын
Amazing tutorial on delegates and events, perfectly clear and i understand them completely now. All other tutorials out there used over-complex scenarios and never explained what they did or meant. Now I know exactly how to use them for an InputManager. Thanks!
@zakrahman479
@zakrahman479 5 жыл бұрын
I am a native English speaker and I've done public speaking before. I'd like to say your delivery is fantastic. Coding can be a very dry topic, but you add a lot of interest with your voice alone. It might not seem significant, but it helps people focus. Fantastic tuts. Cheers.
@eminkilicaslan8945
@eminkilicaslan8945 2 жыл бұрын
In 10 minutes into video I said "I am gonna have to watch same topic from other people." but you solidified so well I don't think I need to listen to this again. The most confusing thing for me was inconsistent use of brackets. I saw delegate-event used with and without them, I used to seeing executable functions having brackets and non-executable variables not having them.
@awesometuts
@awesometuts 2 жыл бұрын
I'm glad I could help
@firstjm9071
@firstjm9071 4 жыл бұрын
Dude this cleared my doubts. Your examples made it so simple. Thanks a lot
@PikarieChan
@PikarieChan 4 жыл бұрын
Best understandable explanation for how to implement delegates, thanks!
@Teck_1015
@Teck_1015 6 жыл бұрын
Oh my god I'm loving this! There's so many instances where I could have been using delegates rather than crappy old association techniques!
@piotrkot4137
@piotrkot4137 5 жыл бұрын
Like always top notch tutorial. If any of you guys is just starting with unity I recommend you his course on udemy. This is how I started and helped me a lot !
@josh_swanson
@josh_swanson 5 жыл бұрын
Thank you. Good analogies. Good speed. Clear language.
@redeyz1885
@redeyz1885 5 жыл бұрын
You have excellent Teaching Abilities and you delivered it very effectively. Thank you
@evolvedant
@evolvedant 6 жыл бұрын
Thank you for this, super informative. I love the way you described it using newspapers, that's the first time I've heard someone describe delegates in a way that makes perfect sense.
@krishnakanth7627
@krishnakanth7627 6 жыл бұрын
Most simple explanation and yet understood it.
@karimmr8433
@karimmr8433 4 жыл бұрын
Thanks so much finally i undetstand the aim of how and when using delegates thanks mr fahir.....
@StarOfStar
@StarOfStar 6 жыл бұрын
Excellent tutorial! Very clear and well explained. Underrated tutorials, you deserve more subscribers:)
@humadi2001
@humadi2001 4 жыл бұрын
Even though the lesson was Long but, This Time finally I got the Idea about delegates and events. Thank you bro! ...btw the auto subtitle is Korean lol
@DarkMooN-uh1ih
@DarkMooN-uh1ih Жыл бұрын
Thank's a lot it helps me understand netcode events
@_Garm_
@_Garm_ 6 жыл бұрын
thank you, i finally get it += Awesome Tuts :D
@kerandonovan7255
@kerandonovan7255 4 жыл бұрын
Excellent content!
@kordou
@kordou 5 жыл бұрын
Thanks for this perfect tutorial! Helped me a lot
@ibrahimsharckas8929
@ibrahimsharckas8929 5 жыл бұрын
can i use delgates through scenes if i am between scenes and i want pass through if somthing happened in the previous scene to the next scenes ? and thank you i have a better understanding of delgates;
@emergingtech9585
@emergingtech9585 2 жыл бұрын
awesome tutorial ..... nice work
@tecknickel5183
@tecknickel5183 6 жыл бұрын
Soooo if I'm understanding this correctly..it's like putting multiple methods into some sort of "container" (delegate) and then calling the event will execute all the methods in the "container"?? Regardless of what classes those methods came from?
@tecknickel5183
@tecknickel5183 6 жыл бұрын
@@awesometuts Great!! Thanks for the fast reply!! Lovely video! :)
@Korn1holio
@Korn1holio 5 жыл бұрын
I'm only 3 minutes in but I think it's not very helpful to start with one metaphor and switch to another (I was ready to see "SendNewspaper()" delegate, but you quickly switched to "PlayerDied()". Anyway thank you for the great tutorial. But one important question remained unanswered - if delegates can define a return value (say, int), what happens if we have multiple listeners each returning its own int value?
@luisbalza3774
@luisbalza3774 2 жыл бұрын
Man, I know your comment is quite old, but I just recently just watched the video, and I was about to comment the same question (about the return value, when multiple event listeners are subscribed). Let me ask you: did you get/find an answer about it?
@amadmaul
@amadmaul 5 жыл бұрын
Thx for the video sir, it awesome. Btw can you make it run with multi scene where the sender use DontDestroyOnLoad() and the receive not.
@punixerz
@punixerz 5 жыл бұрын
Very nice tut sir. thanks!
@ahmedthebest
@ahmedthebest 6 жыл бұрын
Please use dark theme for your script editor, this will be lot nicer and don’t hurt hour ayes
@jmbt2007
@jmbt2007 6 жыл бұрын
ux.stackexchange.com/questions/52833/which-color-scheme-to-choose-for-applications-that-require-long-work-hours/52947#52947 Personally I prefer white backgorund with black text...
@alfonsopayra
@alfonsopayra 6 жыл бұрын
great tut bro, thanks
@riyazsaifi4060
@riyazsaifi4060 5 жыл бұрын
Thanks you good tutorial!
@VIKASHKUMAR-nx3im
@VIKASHKUMAR-nx3im 4 жыл бұрын
What is memory leak
@xxRudnickxx
@xxRudnickxx 5 жыл бұрын
I love how you pronounce "subscribe" XD No offend though^^ :p Good Explanation!
@VaporTrap
@VaporTrap 5 жыл бұрын
i love how he pronounces tutes xD
@nerdzmasterz5417
@nerdzmasterz5417 5 жыл бұрын
If you have trouble understanding how this works, there is a free asset that uses events for Unity Ads. Seeing it in action in your game may prove useful. assetstore.unity.com/packages/tools/integration/easy-unity-ads-109111
@ahmedthebest
@ahmedthebest 6 жыл бұрын
Try don’t use old version of unity because this will become outdated soon and using third party libraries this extremely panful when we are update them handily like jumpy cat tutorials
@ahmedthebest
@ahmedthebest 6 жыл бұрын
I mean in your next courses and what about the dark theme pleas The light theme hurt my ayes a lot
@marcmatthaus4972
@marcmatthaus4972 2 жыл бұрын
Kinda like a more complex MQTT model
Coroutines In Unity - What Are Coroutines And How To Use Them - Coroutines Unity Tutorial
18:36
Awesome Tuts - Anyone Can Learn To Make Games
Рет қаралды 21 М.
C# Events and Delegates Made Simple | Mosh
32:04
Programming with Mosh
Рет қаралды 955 М.
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН
Singletons In Unity - In Depth Overview Of Singletons - Unity Game Manager Tutorial
24:20
Awesome Tuts - Anyone Can Learn To Make Games
Рет қаралды 16 М.
C# Events & Delegates
17:21
Tarodev
Рет қаралды 92 М.
Delegates, Events, Actions and Funcs - The Observer Pattern (Unity & C#)
11:48
Events or UnityEvents?????????
15:43
Jason Weimann (GameDev)
Рет қаралды 105 М.
How Object Oriented Programming Works In Unity
16:14
Awesome Tuts - Anyone Can Learn To Make Games
Рет қаралды 24 М.
C# Advanced: Delegates
41:28
Passionate Coders | محمد المهدي
Рет қаралды 12 М.
What are Delegates? (C# Basics, Lambda, Action, Func)
18:39
Code Monkey
Рет қаралды 305 М.
How To Build An Event System in Unity
8:01
Game Dev Guide
Рет қаралды 418 М.
Pause Menu Unity Tutorial - Unity UI Tutorial - Creating A Pause Menu In Unity
23:27
Awesome Tuts - Anyone Can Learn To Make Games
Рет қаралды 11 М.