@Tarodev
  @Tarodev
Tarodev | Create a grid in Unity - Perfect for tactics or turn-based games! @Tarodev | Uploaded May 2021 | Updated October 2024, 4 hours ago.
Create a grid in Unity of any width and height. I'll show you how to create a checkerboard pattern to better distinguish each tile as well as how to hover and select each individual tile.

Perfect for any tactics or turn-based game.


GridManager.cs: pastebin.com/cip74C4E
Tile.cs: pastebin.com/UD6zE467

=========

❤️ Become a Tarobro on Patreon: patreon.com/tarodev

=========

🔔 SUBSCRIBE: bit.ly/3eqG1Z6
🗨️ DISCORD: discord.gg/tarodev
✅ MORE TUTORIALS: youtube.com/tarodev





0:00 What we'll make
0:10 Creating the GridManager script
1:00 Creating the Tile prefab
1:30 Spawning the tiles
2:25 Centering the camera on the game map
3:30 Creating a checkboard pattern
5:35 Add hover and click events
7:07 Storing and getting the tiles via script
Create a grid in Unity - Perfect for tactics or turn-based games!Unity Vector3.Cross VisualizedHow to make a menu in Unity - UI TutorialValue & Reference types in C#. Write Better Code!Unity Slider in 4 Minutes - [Unity Tutorial]Radial Formations in Unity #ShortsHow to make a drag and drop game in UnityIsometric Camera In UnityHow to use Layout Groups in UnityProcedural Animation in UnityTrajectory Line in Unity (This aint your mothers trajectory line)Creating a hyper casual game in 3 hours

Create a grid in Unity - Perfect for tactics or turn-based games! @Tarodev

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER