What are Events? (C# Basics)

Sdílet
Vložit
  • čas přidán 8. 02. 2020
  • 🌍 FREE C# Beginner Complete Course! • Learn C# Beginner FREE...
    🔴 Watch my Complete FREE Game Dev Course! 🌍 • Learn Unity Beginner/I...
    📝 C# Basics to Advanced Playlist • C# Basics to Advanced
    🌍 Get my Complete Courses! ✅ unitycodemonkey.com/courses​
    👍 Learn to make awesome games step-by-step from start to finish.
    🎮 Get my Steam Games unitycodemonkey.com/gamebundle
    ✅ Let's check out what are C# Events, how we can use them and how they help us keep our code nice and clean.
    For example Events are excellent for separating Logic from Visuals. Recently I made a video covering a Skill Tree and in it I used the same Level System I made months ago but with a different visual interface.
    Learn Unity in 17 MINUTES!
    • Learn Unity in 17 MINU...
    Learn C# BASICS in 10 MINUTES!
    • Learn C# BASICS in 10 ...
    What are Events? (C# Basics)
    • What are Events? (C# B...
    What are Delegates? (C# Basics, Lambda, Action, Func)
    • What are Delegates? (C...
    What are Interfaces? (C# Basics)
    • What are Interfaces? (...
    What are Generics? (C# Basics)
    • What are Generics? (C#...
    What are Loops? (C# Basics, for, while, do)
    • What are Loops? (C# Ba...
    Unity Tips in 10 MINUTES!
    • 12 MORE Unity Tips in ...
    Unity Basics for Beginners
    • Learn Unity in 17 MINU...
    Level System in Unity
    • How to make a Level Sy...
    Simple Skill Tree in Unity (Unlock Abilities, Talents)
    • Simple Skill Tree in U...
    If you have any questions post them in the comments and I'll do my best to answer them.
    🔔 Subscribe for more Unity Tutorials / @codemonkeyunity
    See you next time!
    📍 Support on Patreon / unitycodemonkey
    🤖 Join the Community Discord / discord
    📦 Grab the Game Bundle at unitycodemonkey.com/gameBundl...
    📝 Get the Code Monkey Utilities at unitycodemonkey.com/utils.php
    #unitytutorial #unity3d #unity2d
    --------------------------------------------------------------------
    Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.
    I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.
    You can see my games at www.endlessloopstudios.com
    --------------------------------------------------------------------
    - Website: unitycodemonkey.com/
    - Twitter: / unitycodemonkey
    - Facebook: / unitycodemonkey

Komentáře • 643

  • @CodeMonkeyUnity
    @CodeMonkeyUnity  Před 4 lety +57

    🌍 FREE C# Beginner Complete Course! czcams.com/video/pReR6Z9rK-o/video.html
    🔴 Watch my Complete FREE Game Dev Course! 🌍 czcams.com/video/AmGSEH7QcDg/video.html
    📝 C# Basics to Advanced Playlist czcams.com/play/PLzDRvYVwl53t2GGC4rV_AmH7vSvSqjVmz.html
    🌐 Have you found the videos Helpful and Valuable?
    ❤️ Get my Courses unitycodemonkey.com/courses or my Steam Games 🎮 unitycodemonkey.com/gamebundle
    Here's the highly requested C# Events video! This is one of the most important things to know about C# in order to keep your code nice and clean.
    🎮 Play 7 Awesome Games (Action, Strategy, Management) and Help Support the Channel!
    ✅ Get the Game Bundle 67% off unitycodemonkey.com/gameBundle.php

    • @dragonlord1935
      @dragonlord1935 Před 4 lety +6

      Hey, Love your videos! I was wondering could you someday make a complete C# course? You're one of the few people online who use a consistent coding "style" which makes everything easy to follow. I'd love to see an in depth C# series made by you.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  Před 4 lety +10

      @@dragonlord1935 Yup a complete C# course is definitely something I'd like to do, just need to find the time.

    • @waterfan3399
      @waterfan3399 Před 3 lety

      @@CodeMonkeyUnity make it soon man...please

    • @RonnieBanerjee007
      @RonnieBanerjee007 Před 3 lety

      I have a question:
      As per my understanding of the unity engine, whatever happens in the 'update' function is executed every frame, then how does the Debug.log print "Space!" Whenever OnSpacePressed is invoked Even though the Debug.log doesn't stay in the update() !?

    • @lianefernando6041
      @lianefernando6041 Před 3 lety

      Do you have a tutorial where I can learn to use Test Driven Development approach in Unity?

  • @ganaraminukshuk0
    @ganaraminukshuk0 Před 4 lety +289

    If a tree falls in a forest, the event system doesn't care if anyone was listening if at all.

    • @gadgetboyplaysmc
      @gadgetboyplaysmc Před 4 lety +5

      k

    • @deadturret4049
      @deadturret4049 Před 3 lety +18

      this is an oddly useful way of wording that information.

    • @matshalvarsson8878
      @matshalvarsson8878 Před 2 lety +4

      public class ForestManager {
      public event EventHandler OnTreeFall;
      private void Update() {
      if (Input.GetTreeDown(TreeCode.Timbeeeeerrr)) {
      OnTreeFall?.Invoke(this, EventArgs.WatchOut);
      }
      }
      }
      public class ForestHikerAndPartTimePhilosopher {
      private bool isOutOnAHike;
      private void Start() {
      ForestManager universePhysics = FindManager();
      universePhysics.OnTreeFall += TheUltimateQuestionAboutReality;
      }
      private void TheUltimateQuestionAboutReality(object physics, EventArgs e) {
      if (isOutOnAHike) {
      Debug.Log("A tree fell in the forest and a hiker is there, so he could hear the tree fall.");
      }
      else {
      Debug.Log("A tree fell in the forest, but the hiker was not there, so he couldn't hear the tree fall. Did it make a sound?");
      }
      }
      }

    • @ShootYourBricks
      @ShootYourBricks Před 2 lety +8

      @@matshalvarsson8878 Looks like someone is procrastinating their real project XD

    • @matshalvarsson8878
      @matshalvarsson8878 Před 2 lety +2

      @@ShootYourBricks hahaha!

  • @WagnerGFX
    @WagnerGFX Před 4 lety +300

    Important: when using most (if not all) of the events described in the video is very important to unsubscribe from them when the listener is destroyed, since this could result in errors when calling events with dead listeners.
    A video on delegates would be awesome. You could also talk about the differences between Strong and Weak references.

    • @judgegroovyman
      @judgegroovyman Před 4 lety +18

      Wagner Ferreira good point and for anyone who doesn’t know one good place to do that in Unity is creating a void OnDestroy() and put all of the unsubs in there

    • @danielcorzo7498
      @danielcorzo7498 Před 4 lety +35

      @@judgegroovyman I've also seen that a good practice is to put the unsubs in OnDisable() as calling an event with disabled listeners may also lead to errors. If I'm not wrong, when an object is destroyed OnDisable() is called too.

    • @judgegroovyman
      @judgegroovyman Před 4 lety +14

      Daniel Corzo that sounds even better than my suggestion!

    • @WagnerGFX
      @WagnerGFX Před 2 lety +7

      The GC removes the object that was listening to the event, but not the registered listener itself, so when the event is fired the listener will be pointing to an invalid reference and throws an error. This is where using weak references is useful, but it is usually heavier since the event handler must check every listener for nulls before firing any events.

    • @mwwhited
      @mwwhited Před rokem +1

      @@WagnerGFX And if you have multiple subscribers with multicastdelegates it can get even more grumping especially if someone decides to use an `async void` handler.
      Also when the GC does a mark and sweep if you aren't using a weak reference it will keep the subscriber event after all other objects are dereferenced leaving you with a resource leaks.
      There are really a lot of issues with the fundamentals of the events in .Net. It would be better if people used different patterns for decoupling.

  • @Synith19
    @Synith19 Před 2 lety +61

    The code shown at 10:14 should not allow "Space! 2" to "Space! 5" to show in the console at 10:23 as he is unsubscribing from the event as soon as he fires it.
    Just wanted to clarify in case anyone else gets stuck wondering how he was able to fire off the event multiple times, I believe it was an editing error.
    If you remove the unsubscribe it will work as he is showing.

    • @diyguild1327
      @diyguild1327 Před 2 lety

      Thank you this was confusing to me as well

    • @louisecollins9213
      @louisecollins9213 Před rokem

      Thanks

    • @ayushsidam289
      @ayushsidam289 Před rokem

      Thanks bro. 😀👍🏻

    • @yujiashan
      @yujiashan Před 5 měsíci

      Thank you!

    • @andreym5408
      @andreym5408 Před 3 měsíci

      OMG i was loosing my mind over it
      Repeatedly checking the script if i made any errors in it
      Thank you Very much

  • @nicolapatti3733
    @nicolapatti3733 Před 4 lety +13

    The shortest and clarifying video about events I've ever seen since now! Thank you.

  • @erz3030
    @erz3030 Před 4 lety +76

    I love these nuts and bolts tutorials you're now doing (in addition to everything else you do lol). You're such an excellent and thorough teacher. Your examples are so concrete and easy to follow.

  • @hasnainfareed8555
    @hasnainfareed8555 Před rokem +4

    I swear I want to like it for 100 times, Your teaching method is remarkable.Thank You SOOOO much. You are a legend

  • @0fficez0mbie
    @0fficez0mbie Před 2 lety +5

    Thank you so much for these tutorials! The way you start with basic examples and then gradually layer up the additional functionality has really helped my understanding of the underlying concepts (and meant that I can apply the learning confidently!).

  • @vaderporpoise774
    @vaderporpoise774 Před 3 lety

    your tutorials are awesome, thank you for covering these topics, you barely skipped over any basics while keeping a good pace, I really appreciate it

  • @ronnid8837
    @ronnid8837 Před 3 lety +10

    Damn.. I nearly searched the whole web on events/delegates, but your tutorial was the only one which made it clear for me!
    Awesome explanation and practical use cases. You got a new subscriber =D

  • @zerotoanime3953
    @zerotoanime3953 Před rokem +2

    This is single-handedly the best video on youtube about events. Thank you so much.

  • @aaronnicholson8154
    @aaronnicholson8154 Před 3 lety +1

    Thanks for a thorough yet concise explaination. Perhaps the best explaination of events I’ve seen.

  • @roygatz1037
    @roygatz1037 Před rokem +1

    This is really the essential part to build a game. This should deserve more attention. Great job done!

  • @davdev793
    @davdev793 Před 4 lety +1

    Thats gold, growing more interest every day on your channel! I was using a custom messaging system that i've learned to code in a very old unity book, probably from before event's support arrive in unity. It is basically a much more complex way to do what you do with events. I tried the unity courses on this before but your explanation is just clean and easy to understand. Adapting my projects now. Thanks!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  Před 4 lety +1

      I'm guessing you were using SendMessage(); which is one possible approach but it's not very good since it's very much based on strings which can easily break your code and causes terrible performance.

  • @Runix1
    @Runix1 Před 2 lety +1

    I think this is the sixth time I've returned to this video. It's such a great resource, both for usecases and syntax.

  • @calebforbes9169
    @calebforbes9169 Před rokem +2

    Thank you for showing it in action with multiple examples, but without extra confusion!

  • @franziv4593
    @franziv4593 Před 4 lety

    Thanks for the work. Used to play around with unity and c# some years ago and have forgotten all. This is a good refresh.

  • @d3monskils386
    @d3monskils386 Před rokem

    I know it's an old video but i find si relaxing to listen and hear the keyboard sound in the back ! Thanks for those tutorial.

  • @n0ut4j4
    @n0ut4j4 Před 2 lety

    Excellent video. First one to really explain this in an understandable and simple way. Thanks!

  • @Michael-px9il
    @Michael-px9il Před 4 lety +5

    Thank you for these tuts. Im very new to C# scripting and am really enjoying the vids that you've been uploading on C# basics. Please continue them ;)

  • @MrCrompz
    @MrCrompz Před 7 měsíci +1

    I watched multiple videos to try and understand events, but as usual, yours was the best and the one which actually helped me understand them! Thanks!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  Před 7 měsíci

      I'm glad the video helped! Events are insanely useful so I'm sure they'll help you a lot in your game dev journey!

  • @foreducation408
    @foreducation408 Před 2 lety +2

    after learning about the delegates, learning about the events is pretty easy and as always your videos are the best for in-depth knowledge.

  • @DutchJDoe
    @DutchJDoe Před rokem

    Concise but fully and simple explained, I like that, you really have talent !............THX !

  • @kitthekat6844
    @kitthekat6844 Před 4 lety +1

    I recently learned about these, and now am using them a lot. Really cool tool to use!

  • @AliveNotDeadmund
    @AliveNotDeadmund Před 3 lety

    Once again you are making a difficult topic accessible! Love your work, mate! Many thanks. :D

  • @JohnnySix
    @JohnnySix Před 4 lety +15

    This is awesome - I remember Unreal Engine having something similar ( back in UT99 ) - this is way more efficient than having scripts reference / check public variables / functions in other scripts.
    Bonus points for the new C# 6 null-conditional operator - that's super useful too. :)

  • @yoctometric
    @yoctometric Před 4 lety +3

    If only I had seen this video before i started making my game... Thank you! I have learned a lot from this

  • @russellkemmit73
    @russellkemmit73 Před 4 lety +1

    Wow, best Events explanation I have come by. I would suggest using console apps so that we can follow along 100%, but the instructions was so clear I had no issue following with a console app.

  • @Analogity
    @Analogity Před 3 lety +15

    I've said it once but I'll say it again...
    THANK YOU!
    I'm a professional dev but new to game development, and these are the magic tutorials I have been looking for.
    I absolutely love your approach to teaching and your commitment to proper design. Thanks for the utils as well! I subscribed on Patreon and am excited to follow all the amazing content you put out.
    Seriously, absolutely amazing tutorials. I've shared with all my friends! :)

  • @b.c.a683
    @b.c.a683 Před 9 měsíci

    solid explanation and clear way, thank you !

  • @TheAtticus82
    @TheAtticus82 Před 7 měsíci +1

    Dude, this was exactly what I was looking for--great stuff!

  • @personalgamedevyt9830
    @personalgamedevyt9830 Před rokem +17

    Events are simple and powerful! Thank you again for teaching the concept here and in your "Turn Based Strategy" course! It was way more than what I paid, and I learned so much while having fun!

  • @programmervideos8163
    @programmervideos8163 Před 4 lety +1

    Very clear and good explained video, thank you sir and all your supporters!

  • @arch454
    @arch454 Před 4 lety +7

    Excellent video been struggling with events, not any more

  • @spudyminoguesgames8036
    @spudyminoguesgames8036 Před rokem +1

    Fantastic stuff, I wish I had watched your tutorials ages ago, I just finished my first game see loads of places where the code could have been done much simpler and better. Just got your 50++ course will be going through that before starting the second one, keep up the great work.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  Před rokem +1

      Yup Events are definitely a game changer when you learn about them, best of luck in your learning journey, I hope you like the course!

  • @ReneSteenNielsen
    @ReneSteenNielsen Před 2 měsíci

    Great video CM/Hugo!
    Events can be quite tricky in C# as there are so many different approaches that ultimately seems to lead to the same result, you clarified the difference very well!

  • @reddragon6317
    @reddragon6317 Před 3 lety

    At last. Finally i understand . thanks mate, saved me a lot of work. you have earned my subscription with this. good luck.

  • @1cedragon
    @1cedragon Před 3 lety +1

    This was extremely useful and well explained. Thank you for your work!

  • @windwalkerrangerdm
    @windwalkerrangerdm Před 2 lety +2

    Thank you codemonkey, couldn't remember how to relay some structured objects as eventarguments and remembered it through your video! Coming in very handy in the project I'm currently working on.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  Před 2 lety

      I'm glad the video helped you! Best of luck with your project!

  • @Rahulsingh-theraha
    @Rahulsingh-theraha Před rokem +1

    revised both delegate and events and it was really good ,thank you for ur explanation

  • @fabriciodorneles
    @fabriciodorneles Před 4 lety

    Very Nice! Thanks Man! You're Awesome! It's so good to have your tutorials!!!

  • @petarstoyanov9024
    @petarstoyanov9024 Před 4 lety

    Please make a vid explaining delegates in great detail! This was soooo needed! I have been struggling with some code and using events will simplify it greatly! Thank you!

  • @yuxue2801
    @yuxue2801 Před 2 lety

    Thanks, clear and elegant.

  • @13michal9
    @13michal9 Před 3 lety +3

    At 5:05 you said "awesome" which reminded me about Brackeys... oh no... I'm not crying... ;-;

  • @kopilkaiser8991
    @kopilkaiser8991 Před 10 měsíci

    Great tutorial. I was able to learn all the concept pointed and taught on this video.

  • @sagrgywejhxcvx
    @sagrgywejhxcvx Před rokem

    best of all event tutorials, thanks

  • @ryrilya2289
    @ryrilya2289 Před 4 lety +1

    Excellent tutorial! Thank you kindly.

  • @ligacaopeptidica7524
    @ligacaopeptidica7524 Před 4 lety

    So very-well-explained!!!! Thank you so much.

  • @themirlabs
    @themirlabs Před 2 lety

    Every now and then i need to use events again and i return here every time. Thanks for these videos

  • @papaluisre
    @papaluisre Před 4 lety

    Best video on Events I've seen so far!

  • @cosmicevo1266
    @cosmicevo1266 Před 2 lety

    Thank you so much, I finally understood the concept a lot better now😊

  • @Andrew90046zero
    @Andrew90046zero Před 4 lety +7

    Ever since I saw you using C# events a while back instead of UnityEvents, I decided to look into c# events. Now I have decided that's what I'm gonna use for now on.
    And yea you should definitely do a tutorial on all that function variable goodness.
    You should talk about:
    * delegates
    * Func, Action, Predicate premade delegates
    * and how they can be used in a bunch of different ways like passing functions as parameters to another function. And also the idea of callbacks.
    * Lambda functions
    * Local Functions (these are actually kinda cool, idk if you ever used them but they are a nice alternative to lambda functions)
    A really good example I know of for demonstrating Function variables would be the "Calculus Summation Function". Where you have to pass it 3 values: starting integer, summation size, and a function to apply the summation to. And the user can pass in any function they want like f(x) = x^2 and the summation would be like 1^2 + 2^2 + 3^2 + ... + n^2

  • @mirkoemir
    @mirkoemir Před 4 lety +1

    Great tutorial and very clear!! thank you.

  • @bosshome8320
    @bosshome8320 Před 2 lety

    Thank You very much. awesome video and explanation

  • @learnsmtheveryday01
    @learnsmtheveryday01 Před rokem

    Thanks it was super easy to follow and implement in my own game

  • @chethansiqaandiostuff7365
    @chethansiqaandiostuff7365 Před měsícem

    I just Unity events to solve a horrible problem I had. Thank you so much Code Monkey for these wonderful tutorials. May God bless u in abundance

  • @dainiax
    @dainiax Před 4 lety

    Clear and easy, thank you!

  • @MikeStock88
    @MikeStock88 Před rokem

    Great tutorial, thanks for sharing, clear and concise

  • @mibo747
    @mibo747 Před 3 lety +1

    Thank you !
    Perfect explanation!!!!!

  • @cradle_of_chaos
    @cradle_of_chaos Před 4 lety +1

    This is excellent work. Keep it up.

  • @tigransahakyan2840
    @tigransahakyan2840 Před 4 lety

    Great c# course started :) keep going!

  • @takeawayplease6229
    @takeawayplease6229 Před 2 měsíci

    This video made me understand events! Thank you!

  • @kopilkaiser8991
    @kopilkaiser8991 Před rokem

    Code monkey is the best. All the way till the end. ⭐️⭐️⭐️

  • @SkinnerSpace
    @SkinnerSpace Před rokem

    Nice lesson, I've been using events for a while but I just get stuck with Actions only and never even considered other ways of implementing this kind of observer pattern. Now I'm gonna try all of them and decide in which cases some of them are more convenient than others. Thanks!

  • @kopilkaiser8991
    @kopilkaiser8991 Před rokem +1

    Best teacher in utube man. Nothing else to say.

  • @darsheelrathore3069
    @darsheelrathore3069 Před 4 lety

    To the point video..
    Thanks

  • @genjutsuedits
    @genjutsuedits Před rokem

    Thank you, best events tutorial

  • @512Squared
    @512Squared Před 2 lety

    It was good to see all these versions used together

  • @moduntilitbreaks
    @moduntilitbreaks Před 4 lety +1

    That was great explanation.

  • @empressredbird
    @empressredbird Před rokem

    I'm excited to incorporate this into my next project!

  • @idjung4
    @idjung4 Před 3 lety

    This is a great video. Thank you so much!!!

  • @xxx.xxx.xxx.xx1joker706

    Excellent. Thank you so much.

  • @muhammedusenmez7770
    @muhammedusenmez7770 Před 4 lety

    Great tutorial, thank you!!!

  • @ayushsidam289
    @ayushsidam289 Před rokem

    Thanks for this amazing tutorial sir. 😀🙌🏻

  • @lightinthedark8401
    @lightinthedark8401 Před 3 lety

    thanks you so much ! its really useful

  • @matshalvarsson8878
    @matshalvarsson8878 Před 2 lety

    Very helpful! Thanks!

  • @MuhammadAsad-qp8ou
    @MuhammadAsad-qp8ou Před 4 lety

    make a video on delegates and lambda expression.
    both makes code easier to read and write.. thats the main video we want.
    Glad u started making c# videos in unity.
    that means alot to us

  • @FatherOfPeople
    @FatherOfPeople Před 4 lety

    Thanks a lot! Really great video

  • @tigranavagyan1587
    @tigranavagyan1587 Před rokem

    Thank you very much for this video!!!

  • @wintercaesaria2492
    @wintercaesaria2492 Před 9 měsíci

    Thank you so much for explaining this. After so long I've finally understood this.

  • @colorado34070
    @colorado34070 Před 3 lety

    Thank you for this tutorial !

  • @c3i
    @c3i Před 2 lety

    you are making solid content !

  • @InamiLanzhu
    @InamiLanzhu Před 8 měsíci

    thankyou, it's super clear especially after watching the delegates tutorial

  • @MGConstantin
    @MGConstantin Před 4 lety +1

    Thank you for this tutorial ! I cant wait the multi-player ones :)

    • @MGConstantin
      @MGConstantin Před 4 lety

      And thank you for the long intro version :D

  • @jojo-et7qz
    @jojo-et7qz Před 10 měsíci

    thanks you very much! you are my hero!!!

  • @princedeka6054
    @princedeka6054 Před 3 lety

    You are the best!! Huge fan of your tutorials 😊🙏

  • @user-pm2ru6ir6n
    @user-pm2ru6ir6n Před 4 lety

    Spasibo ) Nice events description! ) thanx

  • @kstevenson3504
    @kstevenson3504 Před 8 měsíci

    So many videos make this complicated. (Some additional syntax might be helpful for those of us who see examples in ohter syntax, but this is so simple and easy to understand.) You made this seem way too easy. SMH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I've watched so many videos that try to take you through the event/delegate encyclopedia! Its overwhelming. I'm so refreshed. Thanks!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  Před 8 měsíci +1

      I'm glad the video helped you! Events are one of the most powerful C# features!

  • @bsdrago
    @bsdrago Před 4 lety +1

    Yes, please, a video about delegates and relationship with events. Keep the good job. I will become a patreon very soon. =)

  • @BingoGo2Space
    @BingoGo2Space Před měsícem

    I love you, code monkey!!! You are my favourite teacher officially now❤❤❤❤

  • @lorenzocgt1021
    @lorenzocgt1021 Před 4 lety

    Thank you ! My code is so much cleaner after your video !

  • @TarzantheNinja
    @TarzantheNinja Před 4 lety +2

    These tutorials have been immensely helpful to my team in school. Please do make a delegate video

  • @MohamedMagdy-ql3pl
    @MohamedMagdy-ql3pl Před 4 lety +2

    A video about delegates would be absolutely appreciated.

  • @dilanasjonaitis6893
    @dilanasjonaitis6893 Před 4 lety +1

    Great tutorial!

  • @BrunevaStudios
    @BrunevaStudios Před 4 lety +2

    Man, watching this video made me realize I need some actual basic coding lessons, as it was very hard for me to follow the video. Not because of what was shown, the video itself is very well presented and the subject is taught well. Thanks for all of your videos, they really do help out an aspiring game dev!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  Před 4 lety +1

      Interesting, what part/concept did you have trouble following? Events are simple although they do require knowing about accessors, keywords, functions, etc.

    • @BrunevaStudios
      @BrunevaStudios Před 4 lety +1

      @@CodeMonkeyUnity So mostly learned programming from online tutorials, but I never got proper lessons, so I fail to understand some basic concepts. What I'm struggling to understand is how do I apply this in systems I am trying to create. I'll check out some other tutorials to see how you implement events! Thanks for the reply!

  •  Před 2 lety +1

    I need to create some events today, but I forgot how to do that. You are a life saver (again) :-)

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  Před 2 lety +1

      Hehe that's great, I'm glad the video helped! Events are awesome!

  • @Arkl1te
    @Arkl1te Před rokem

    This also helps me with Godot, which also has C# support. Thank you!

  • @mrmendee
    @mrmendee Před 3 lety

    Cool! You are Event creator to me , i am just subscriber hehe
    Clearly understand that Standard Visual Studio C# usage EventHandler.
    And more, understood that UnityEvent system.
    Thanks to share!

  • @ardawanx
    @ardawanx Před 4 lety

    awesome tutorial. way better than the official tutorials from unity haha. Tnx

  • @adamvasarhelyi9781
    @adamvasarhelyi9781 Před 3 lety

    This video is fantastic