Was just prototyping an idea I had for a simple tower defense game and figured that the grid generator might be handy for others. The package can be downloaded here. It contains a folder called Grid. Place it anywhere you want in your project. To generate the grid go to Windows and select the TDEditor window. Fill in how many you want on the X and Y axis and click on the generate button. It generates a bunch of 4-vertex planes, names them by their coordinate and puts them in an empty grid object.
I hope my code isn’t disastrously bad. I’m not well versed in Unity yet
Well there wasn’t any planning behind this really, I was prototyping a simple 2d tower defense game and got tired of dragging those quads around. It is probably not the best solution for creating a selectable grid where you can also just drop textures around at will, but it works