Unity Tips and Tricks - Looping & Sorting Lists

preview_player
Показать описание


In this video series I will show you many tips and tricks that you must know about when it comes do game design, especially in Unity.
-----------------------------------------------------------------------------------------------------------
If you liked the video then please respond with a like and a subscribe to show your support for the channel and I'll repay you by creating more tutorials to teach you the wonder that is Unity :D
Рекомендации по теме
Комментарии
Автор

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.

gingerbear
Автор

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

Dumbird
Автор

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

digigglegames
Автор

You are a very smart person. THANK YOU!

GemTappX
Автор

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?

punixerz
Автор

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

raj.mahato
Автор

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 :)))

finndovey
Автор

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

donuteam
Автор

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).

bunnybreaker
Автор

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

brianbooth
Автор

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.

ChrisX
Автор

Useful stuff, nice tutorial again DD :)

paulrobinson
Автор

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

astrrnaut
Автор

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 :)

tingwen
Автор

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,

paulrobinson
Автор

I like your background in windows :D. zero2?

punixerz
Автор

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

MetaPikachu
Автор

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

kerimtt
Автор

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

rawandalkalame