Data Structures For Game Devs: HashSets | Unity Tutorial (Part 2)

Опубликовано: 02 Декабрь 2024
на канале: Anni
13,570
752

This video teaches you all about C# HashSets for your Unity game. It's part of a guide/tutorial series on data structures for Unity game developers, with lots of examples and a focus on using them to make your dev life easier.

Full Playlist:    • Data Structures In Game Dev  

Part 1 (Arrays, Lists & Fundamentals):    • Data Structures For Game Devs: Arrays...  
Part 2 (HashSets): You're here!
Part 3 (Dictionaries):    • Data Structures For Game Devs: Dictio...  
Part 4 (Queues & Stacks):    • Data Structures For Game Devs: Queues...  

These are my first tutorial-style videos on the channel, so let me know what you think!

Say hi:   / anniisgame  

Gameplay:
Deep Rock Galactic
The Legend of Zelda: Breath of the Wild
Age of Empires

Chapters:
0:00 Intro
0:19 What’s a HashSet?
0:45 Example 1
1:37 HashSet vs. List
2:13 Example 2
2:43 Lookup Performance
3:15 Internal Implementation
3:44 Intersection & Union
4:24 Example 3
5:03 What HashSets Can’t Do
5:46 Your Own Use Cases!