- Home /
I already found a solution.
get int based on 3 ints
Hello,
I was wondering whether there is a quick solution/ data type that allows me to access an int value based on three other int values.
So I would have my ints x,y,z and based on those ints they would return me a value n.
I thought about using int[,,] but it appears to me that all three dimensions would have a fixed length and as my z component varies between 0 and 500 that would not work (well it might work but I would have a huge overhead in values).
It would be great if anybody would have an easy solution. I currently can only think of some long workarounds.
Follow this Question
Related Questions
Unity adding element to 2D array list 2 Answers
Creating A Basic Path For Enemies 1 Answer
Check if an int is equal to an array int 3 Answers
Monodevelop is expecting int from my float array 3 Answers
Array Is Out Of Range 2 Answers