Thank you so much for explaining it so clearly! Our teacher used Dictionaries last autumn while teaching us game programming and I didn't understand a thing but now I'm finally starting to understand them. I'll definitely come back to this video when I'm trying to use them myself for the first time!
@wildcockatielgames3 жыл бұрын
Really happy to hear you found this video to be helpful! Good luck in your game programming. I'm always trying to break down tricky subjects into understandable terms :)
@whilma_dikfit2 жыл бұрын
I needed this for the exact same reason as your star thing.
@geneanglen33912 жыл бұрын
Thank you for this video...very well explained. I was looking for "lists" and ended here instead...glad I did, because I think "dicts" are what I need to be using :) Instead of trying to remember which index # to use for my values, I just use a description that is easy to remember. Again, thank you.
@Matt-fm1wo3 жыл бұрын
Really good description of Dictionaries. Made it very clear :)
@mr-fluffy4693 жыл бұрын
Such a great video. Thumbs up!
@ethanwimsett Жыл бұрын
awesome explanation, thanks
@elliottk68va3 жыл бұрын
Excellent video. Thanks!
@cainothecreator83632 жыл бұрын
When I first saw the level select my immediate thought was to have a value of 2D Array and a Bool. Dictionary starsEarned = new Dictionary; Checking level 2, star three would look like: return starsEarned[{1,2}];
@abdelrhmanemira24805 ай бұрын
Thanks a lot.
@StygianStyle2 жыл бұрын
What do you think of this idea: I'm using a dictionary to access information about objects that are instantiated randomly in a grid pattern similar to a match 3 game. I need to learn what type of object is at a given location, and unity doesn't have a built-in way to do that without colliding a ray or object with it. So my idea is to take the vector3 coordinates, assign the x and z coordinates to int variables, and use a formula (x * 1000 + z) to create unique integers as keys for the dictionary table. (I don't need the y coordinate because y is always the same value. all puzzle objects are at the same height above the ground.
@mfatihbarut3 жыл бұрын
hi, why don't you create a simple int variable (Star) and change it to 1 2 3 for star counts.
@Android-Sniper3 жыл бұрын
more like this videos. 👍
@wildcockatielgames3 жыл бұрын
Always thinking of the next topic to cover!
@Gomace9 ай бұрын
This guy kind of reminds me of Paul Rudd, and I don't really know why.
@Jose-mc5dl3 жыл бұрын
What is better? a dictionary or an scriptable object?