grid


Tile-Based Ground – Unity3D (C#) To create a tile-based ground, we need a simple matrix system. A (row X column) matrix will take a plane texture and draw it in each cell.   public GameObject plane; public int width = 10; public int height = 10; private GameObject[,] gridd = […]

Tile-Based Ground – Unity3D (C#)


Grid System – Unity3D (C#) Grid system is used mostly in RTS games. Your characters or buildings move on grids. You need a matrix to create a grid system. public float cell_size = 2.0f; private float x, y, z; void Start() { x = 0f; y = 0f; z = 0f; […]

Grid System – Unity3D (C#)