C# Events in Unity! - Intermediate Scripting Tutorial

preview_player
Показать описание
This video explains how to use special delegates called Events in order to subscribe methods (functions) to create flexible broadcast systems in your code!

Рекомендации по теме
Комментарии
Автор

The last advice about why using events instead of delegates is GOLD. Thank you very much for this video.

FlaurensLBO
Автор

Ah finally a good tutorial to explain how to use the event programming in Unity. I can't understand why tutorials are so scarce about this subject while I think it's one of the basis thing when programming in Unity !

carljohnson
Автор

As a web based programmer who knows Javascript only, these tutorials are a really great source of knowledge for people like me. Covers some essential and important subjects of both c# and unity. And keeping videos at minumum length is good also. Thanks

theroomtheroom
Автор

because of this event handling concept i had been stuck in my course for more than a month but now i finally got it thanks a lot to you guys, love unity

ahbarahad
Автор

I'm loving these tutorials! They're so well explained and short. 👏

mateusferreiramoreira
Автор

This is better than C# documentation itself :D

reyou
Автор

This video quenched my curiousity, it has all the infos explained in the simplest way. Thumbs up!

piztech
Автор

Do an advanced scripting tutorial please!

raigiku
Автор

I'm really enjoying the new and consistent uploads!

firepro
Автор

Thank you so much, this helped me a lot!! 💖And thank you so much for that explanation at the end about why to use events over public delegates too, it helped me so much! Thank you!!

kellybmackenzie
Автор

unity you are awesome, these short informative up to the point video are very useful, thank you

XRelabs
Автор

Well explained on using events instead of delegates.

carlabalos
Автор

Also events can be declared inside interface, instance of delegate not. Its similar difference like fields and properties

gaitavr
Автор

I sure wish I knew about the event thing before I wrote a complex network of classes talking to each other...

NikkiMcMistie
Автор

Where is the link to the more information on delegates mentioned in the video?

folkhero
Автор

"For more information see the link below"

*Link redirects to the same video*

Me: ok...

ericferre
Автор

0:12 What lesson linked below? The only link in the description leads do this lesson on Unity's site

Jizu
Автор

I have a question, why does it say "The name 'EventManager' does not exist in the current context"?

Mr_Joe_theidiot
Автор

I don't get it, why did you create the ClickAction delegate instead of using Action?

hello.
Автор

I'm getting an error on the onEnable/onDisable section. It's telling me that it cannot convert type void to classname.delegatename.
I cannot seem to find any difference in our code so I'm not sure how to proceed. If you know why this could be, please let me know :)

ericcarlstrom