I have seen a few other posts, but they are the opposite of what I want to do. I simply have an array of ints in my lua file, and I want to know how I change that into a c# array. Using lua ["ints[1]"] throws an exception.
I think this would be very useful to know for many people, as it could be used for tilemaps, or many things really.
The array of integers you have on the Lua side is just a Lua table and on the C# side it's a
LuaTable
type.Do this:
Result: