hey there
I'm looking for some good tutorials on 2d and 3d arrays in unity preferably C#
as I'm trying to construct some simple meshes from 3d arrays (think small voxel objects)
I've found a few videos here and there but they are a bit rambling and I'm not totally convinced on the info given
Replies
It's only UnityScript that is specific to Unity and I don't think Native UnityScript has the ability to create multidimensional arrays (although it can use them if they've been created in C# and passed over). At least it didn't the last time I looked. Best to stick with C#...
What sort of stuff are you after?
Say you wanted to store an int at each location within a 9 x 9 x 9 voxel cube.
http://www.dotnetperls.com/multidimensional-array