Do you KNOW C#? Answer and LEARN! Only 2 got 100%!

Поделиться
HTML-код
  • Опубликовано: 22 май 2024
  • 🔴 Complete C# Course Beginner to Advanced! cmonkey.co/csharpcourse
    ✅ Awesome Low Poly Assets 97% OFF! cmonkey.co/humblebundle
    🎮 Play my Steam game! cmonkey.co/dinkyguardians
    ❤️ Watch my FREE Complete Courses • Learn to make Games wi...
    🌍 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
    🔴 RELATED VIDEOS 🔴
    FREE Health System Asset • Get my second FREE Ass...
    Awesome Third Person Shooter Controller! (Unity Tutorial) • Awesome Third Person S...
    What are Delegates? (C# Basics, Lambda, Action, Func) • What are Delegates? (C...
    I FINALLY made this! • I FINALLY made this!
    Can you Answer Questions? - LIVE! ruclips.net/user/liveoJIrevvlNsM
    💬 Here's 10 interesting questions about Unity and C#, can you answer them all correctly?
    00:00 Intro
    00:47 Question 1
    02:46 Question 2
    05:23 Question 3
    08:02 Question 4
    09:52 Question 5
    12:24 Question 6
    14:53 Question 7
    17:06 Question 8
    18:50 Question 9
    22:35 Question 10
    📝 Some Links are Affiliate links which means it costs the same to you and I get a nice commission.
    🌍 Get Code Monkey on Steam!
    👍 Interactive Tutorials, Complete Games and More!
    ✅ store.steampowered.com/app/12...
    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
    🎮 Grab the Game Bundle at unitycodemonkey.com/gameBundl...
    📝 Get the Code Monkey Utilities at unitycodemonkey.com/utils.php
    --------------------------------------------------------------------
    Hello and Welcome!
    I'm your Code Monkey and here you will learn everything about Game Development in Unity using C#.
    I've been developing games for several years with 8 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.
    I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.
    --------------------------------------------------------------------
    - Website: unitycodemonkey.com/
    - Twitter: / unitycodemonkey
    - Steam: store.steampowered.com/develo...

Комментарии • 25

  • @CodeMonkeyUnity
    @CodeMonkeyUnity  2 месяца назад +4

    🔴 Complete C# Course Beginner to Advanced! cmonkey.co/csharpcourse
    ✅ Awesome Low Poly Assets 97% OFF! cmonkey.co/humblebundle
    🎮 Play my Steam game! cmonkey.co/dinkyguardians
    🔴 RELATED VIDEOS 🔴
    FREE Health System Asset ruclips.net/video/tf8NhUgORQg/видео.html
    Awesome Third Person Shooter Controller! (Unity Tutorial) ruclips.net/video/FbM4CkqtOuA/видео.html
    What are Delegates? (C# Basics, Lambda, Action, Func) ruclips.net/video/3ZfwqWl-YI0/видео.html
    I FINALLY made this! ruclips.net/video/gAno2VL_G7E/видео.html

  • @castlecodersltd
    @castlecodersltd 2 месяца назад

    A really helpful refresh. Thank you 🙂

  • @CharleyThePostman
    @CharleyThePostman 2 месяца назад +2

    Wow. I didn't know you had daily questions! This is awesome!

  • @Sneedstein
    @Sneedstein 2 месяца назад +1

    The save system was super useful. I’d always wondered how saving works in games

  • @sxsignal
    @sxsignal 2 месяца назад

    your last stream was fun.. and I already used what I learned (int/int != float) and couldn't figure out why I was having issues with one of my calculations (always resulted in 0, so I thought it was never setting to a valid number to start). Great work

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 месяца назад

      hehe nice! I'm glad that knowledge helped you in a practical way!

  • @ChrisOsberg
    @ChrisOsberg 2 месяца назад +1

    You play a dangerous game with your thumbnails 😝

  • @fv4202x
    @fv4202x 2 месяца назад +1

    Useful video, but 23:20 I personally dont understand this, heard it a lot but I have no idea why using publics a lot would break everything.

    • @Hietakissa
      @Hietakissa 2 месяца назад +1

      it can work by all means, but it does make debugging harder since it takes more time to find where you're accessing or setting the value

    • @gelis07
      @gelis07 2 месяца назад +1

      It would certainly work, but you should make public something that should be changed by other classes (or by you in the inspector if we are talking about unity) but the health of a unit shouldn't be changed by an classes, other classes should only call a public function, DoDmg(float dmg) for example that just subracts from the health because not every class should have the ability to do something like health = 1000. In summary having it public would work, but by making it private you're saving some future problems from your future self or other teamates.

    • @agnostk
      @agnostk 2 месяца назад +1

      When you make fields private, you can build your system in a more secure way by limiting direct access to data members and exposing it's modification by a public interface, this is called encapsulation in OOP. By adopting a private-first approach, you can make fields public through refactoring only when really needed. You can search online for encapsulation for more examples.

    • @chuckdude514
      @chuckdude514 2 месяца назад +1

      These explanations are good, but sometimes you can only fully get it once you try it out by yourself. Don't be afraid of failing.
      But yeah, if used carelessly, your codebase will quickly become a spaghetti, meaning that you won't be able to make alterations without crumbling everything else.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 месяца назад +1

      Watch the detailed video on it ruclips.net/video/pD27YuJG3L8/видео.html
      Basically when you make something public you enable both read and write access to that field which means any class in your entire codebase (which could be 1000 classes long) can modify that field in any way.
      You could have a playerSpeed variable and one of your 1000 classes has some code to set the playerSpeed to -1 which completely breaks your game.

  • @ashishpolaki
    @ashishpolaki 2 месяца назад +2

    😉😉Now change the video's caption to "Only Three Got 100%!"

  • @Hillgrov
    @Hillgrov 2 месяца назад

    almost hard to see the question with all the call-to-actions it's surrounded with.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 месяца назад

      How so? There's only a single banner underneath

  • @SuperGamesUz
    @SuperGamesUz 2 месяца назад

    Dear Code Monkey, I Know You Know Unity for 20 years, However Do you have sometimes Like this situation
    Code Monkey:
    What was this code do?
    What this shader type was it? Effect to What kind?
    Wow little mistake take me 6-7 or 15 minutes to solve my code!
    While You Writing Tons of code: Wait Where Did I came it this come from?
    When You See old Code That Your Wrote: Wait What I just wrote this code like this, What was it do it? And Why i Just Inherited From this code to this?
    Is It Possible That Situation! You still have or not att all!
    Sorry Disrespectfull Question For Your Knowdlegde

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 месяца назад

      Yes I google stuff all the time, especially when working on something completely new, that's a perfectly normal part of the process.
      I don't normally get lost in my codebase because I make such a huge effort to make sure the code is great while I am writing it. For example I haven't touched the Dinky Guardians codebase in about 3 months now, but I know that if I get back to it I will familiarize myself with that huge codebase again in 1-2 days.

    • @SuperGamesUz
      @SuperGamesUz 2 месяца назад

      ​@@CodeMonkeyUnity in June 1th It will 1 year to That I start unity from zero, But I have Still Have More Confussion While I Coding And Makin Of Proccess!

  • @bluzenkk
    @bluzenkk 2 месяца назад

    i wish you made this 14 years ago....
    now its no use to me, except for refreshing memories.... sad....
    you need to put in harder questions....
    i got most of them right except for the 16ms one,
    too lazy to calculate so i just randomly pick an ans...

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 месяца назад +2

      heh yeah it's always a balancing act between putting in questions that are way too difficult and niche or others that are easier and anyone can answer.
      But still even if you get the questions themselves right hopefully you still learn something in the very detailed answers!

  • @twinguy9633
    @twinguy9633 2 месяца назад

    The title of the video really doesn't sell it