© 2017 by Donovan Sepulveda

  • Facebook App Icon
  • LinkedIn App Icon
C# 3D Grid

This code sample demonstrates how to create a 3D grid in Unity. This code creates a randomized city-esque area with random sized blocks (your buildings) that are randomly colored (separate script). The size of the grid can be easily adjusted by changing the rows and columns integers.