Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Powerful Generics Added - Grid System in Unity

Code Monkey via YouTube

Overview

Learn how to implement powerful C# generics in a Unity grid system, enabling versatile applications like Terraria-style worlds, Minesweeper games, and tilemaps. Explore the process of enhancing an existing grid system to work with any object type, solving various game development challenges. Follow along as the tutorial demonstrates how to create, test, and debug a generic grid, implement a heatmap grid, and create visual representations of grid objects. Gain insights into common errors and their solutions while building a flexible foundation for grid-based game mechanics in Unity.

Syllabus

Intro
Generics
Boolean
Quadrant
Starting Scene
Testing Grid
Using Generics
Testing
Heatmap Grid
Known Error
Debug
Initialize Grid
Grid Object
Add Value
Debugging
Modifying Values
Creating the Generic Visual
Testing the Grid Object

Taught by

Code Monkey

Reviews

Start your review of Powerful Generics Added - Grid System in Unity

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.