Can someone tell me what is wrong with this code? I don't see what the error message (for the last statement) is referring to. The only object reference in that statement looks like it is dereferenced with [0,0] to an instance of the object to me.
ERROR 'Object reference not set to an instance...
Hi All,
This may sound stupid to you, as I'm a casual programmer. I have a two-dimensional array of values. Where rows are angles in decimal degrees, increments can be by 1 degree, 5 degrees even 10. Columns are also organized similar manner. I know how to access a generic two-dimensional...
I'm trying to figure out how to add each "block" to a 2D array which I can then access and change the corresponding bool value to true or false as needed. Basically what this is meant to do is create an initial grid of white squares using one sprite and then as I click on each tile/square it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.