Mastering Development

Index Out Of Range Exception C# Unity

I am trying to create a grid of vertices, where every other row is offset and also has one additional vertex in that row. I have succeeded in getting the vertices in the right shape, but it is giving me an “IndexOutOfRangeException: Index was outside the bounds of the array.” Here is my code: public […]