Unity Tips and Tricks - Looping & Sorting Lists

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

ความคิดเห็น • 31

  • @gingerbear7011
    @gingerbear7011 3 ปีที่แล้ว +3

    Really grateful for this tutorial - i spent the whole day trying to isolate and remove specific items from a list based upon a criteria and this was the only place i found that helped!
    Awesome work.

  • @Dumbird0
    @Dumbird0 3 ปีที่แล้ว +1

    I am from the future. Thank you for this tutorial. It allowed me to make a speed based RPG turn system

  • @digigglegames1112
    @digigglegames1112 3 ปีที่แล้ว +1

    This video helped me loads - thank you for doing it, much appreciated!

  • @GemTappX
    @GemTappX ปีที่แล้ว

    You are a very smart person. THANK YOU!

  • @joaoandrea.1954
    @joaoandrea.1954 3 ปีที่แล้ว +1

    Awesome tutorial! Helped a lot

  • @alejob5325
    @alejob5325 2 ปีที่แล้ว

    Great video! Thanks

  • @raj.mahato
    @raj.mahato 3 ปีที่แล้ว

    that's really helped and just learned how to use "breakpoints" 17:55

  • @paulrobinson5490
    @paulrobinson5490 5 ปีที่แล้ว +1

    Useful stuff, nice tutorial again DD :)

  • @bso1538
    @bso1538 3 ปีที่แล้ว

    Nice, it works for me.

    • @bso1538
      @bso1538 3 ปีที่แล้ว

      Also, nice to refresh the "Old learned stuffs"

  • @ChrisX431
    @ChrisX431 5 ปีที่แล้ว +1

    I don't know if you've done videos on this already but what about doing some tutorials about ads? How to implement, best practices, pay to remove / restoring purchases, best type of ad for your game. Just a suggestion idk if it's suitable.

    • @DapperDinoCodingTutorials
      @DapperDinoCodingTutorials  5 ปีที่แล้ว

      I might make a video about ads in the future but I've never released any mobile games and so I've never actually used ads in my games. So currently I know as much about it as you do :p

  • @MetaPikachu
    @MetaPikachu 3 ปีที่แล้ว

    I love you dapper dino, im actually in love with you

  • @charlescompton3668
    @charlescompton3668 5 ปีที่แล้ว +2

    Like this tutorial

  • @punixerz
    @punixerz 5 ปีที่แล้ว +1

    Very nice video sir. One question, could you or someone tell me which is the program you have at the task bar to the left of unity shortcut?

    • @DapperDinoCodingTutorials
      @DapperDinoCodingTutorials  5 ปีที่แล้ว

      Thanks :) It's OBS (obsproject.com/) which is what I use for recording and streaming.

  • @astrrnaut6166
    @astrrnaut6166 5 ปีที่แล้ว +2

    Can you make one about what virtual and override and other similar syntaxes do? Thank you for the tutorials, I really appreciate it.

    • @DapperDinoCodingTutorials
      @DapperDinoCodingTutorials  5 ปีที่แล้ว

      I'll definitely make a video on that, I thought I had already but I'm not sure actually :p

    • @minersebas6072
      @minersebas6072 5 ปีที่แล้ว

      The virtual and override syntax was already explained in the Video about Inheritance, but a Summary of such Modifiers would still be great.
      Here is the Link to the Video with a Timestamp where that Syntax is used: th-cam.com/video/J_5jTuLQ-oM/w-d-xo.html

    • @DapperDinoCodingTutorials
      @DapperDinoCodingTutorials  5 ปีที่แล้ว

      @@minersebas6072 I'll be sure to cover it again as well as including abstract classes and some other class types that are quite rare but still serve a purpose or have a benefit, such as partial classes :)

  • @tingwen1713
    @tingwen1713 3 ปีที่แล้ว

    Hey :) Thanks for the tutorial but I was really hoping you could show how to compare enums (as you mentioned in the beginning). I hope you revisit this topic again in the future. Thank you so much :)

  • @bunnybreaker
    @bunnybreaker 3 ปีที่แล้ว

    Looping up is OK the way you did initially if after a removal you do 'i--;' after the removal so it check the same index again when the loop increments it.
    Looping downwards is definitely less prone to errors and slightly more efficient from what I've read (no need to check the length again between loop iterations).
    I do have a question though, and what lead me to the video. What's the best way to make/use an ordered collection type that is suitable for run time usage? (ie., potentially has to run in Update() or FixedUpdate() as opposed to load time or menus).

  • @finndovey9410
    @finndovey9410 3 ปีที่แล้ว +1

    Hi, just a quick question if you still see these! I have a list with a first and second name for each person. I am able to ascend/descend alphabetically using first names. However, I cannot seem to figure out how to do this using second names. Do you know if there is a line of code I can add to the sort functions that will separate first and second names in " " so that I can assign second names as the target??? THANKS :)))

    • @finndovey9410
      @finndovey9410 3 ปีที่แล้ว

      😇😇😇😇😇😇😇😇

  • @punixerz
    @punixerz 5 ปีที่แล้ว

    I like your background in windows :D. zero2?

  • @donuteam4078
    @donuteam4078 3 ปีที่แล้ว

    Can you make video tutorials change text in list loop likes error system?

  • @paulrobinson5490
    @paulrobinson5490 5 ปีที่แล้ว

    Hiya DD, don't know if you are familiar with MapMagic, but if you are, any idea if it works OK with unity 2018.3 and whether something like world streamer would be needed with a map of about 64k square (8 by 8 1k terrains). tried contacting the maker but not getting a reply and nothing of use via google sadly :(. Cheers,

  • @brianbooth2654
    @brianbooth2654 3 ปีที่แล้ว

    How do you sort by string? Is there a way to send this to a text in the UI rather than in the inspector?

  • @kerim404tt5
    @kerim404tt5 5 ปีที่แล้ว

    you are trying to create a monobehaviour using the 'new' keyword... what is that error

    • @subhranilbhunia9236
      @subhranilbhunia9236 4 ปีที่แล้ว

      that exactly how it says...u dont create instance of monobehaviour class using new keyword in other class

  • @rawandalkalame6959
    @rawandalkalame6959 3 ปีที่แล้ว

    17:12 nice pic bro! what anime is she from?!?