Godot Version
4.2.1
Question
I’m trying to learn C# and understand code. I’m trying to print the value of a variable, but the output is System.Int32[]
. What does this mean?
preCalculatedSquaresToEdge[i + j * 8] = new int[8] { up, left, down, right, d1, d2, d3, d4 };
GD.Print(preCalculatedSquaresToEdge[i + j * 8].ToString());
The variable was defined like this:
private static readonly int[][] preCalculatedSquaresToEdge = new int[64][];