Hey guys, here’s my coordinate system: http://rubidium-style.com/upload/naburus_primus/grid.png
The size is 55. I would love to generate all the coordinates in c# that you can see on the picture. How can I do that?
I increase the following cell with 25, all the time.
This is how my code looks like at the moment, but it works only in one direction. It has to be dynamic, so it should works properly in case I increase the 55 to 100*100 as well.
int landSize = 5;
int landRegion = landSize * landSize;
int landDist = 25; // 25 cm, (1 cell size)
for (int i=0; i<landRegion; i++){
int[] x;
const int y = 0;
int[] z;
Debug.Log(x);
Debug.Log(z);
}
I don’t want to show you my attempts to not confuse you with.