Small scripts for unity that someone might find useful.
3D Grid maker
- call public CreateGrid() after specifying gridSize and divisionAmount
- it produces cellCenters which can be retrieved by grid.cellCenters
Notes:
- set size on any axis to make the 2D grid
- keep the division amount on 1 to not divide the grid further
Modified version based on: