I want to store pairs of UID in array. For example,
UID enemy A - UID box A,
UID enemy B - UID box B,
Should I use x array
x: value UID enemy A, UID box A.
Or I use x,y array?
X: UID enemy A
Y: UID box A
Develop games in your browser. Powerful, performant & highly capable.
Well, if you have more than one value per imaginary row then it's a x,y array.
So in your case it's like:
__0, 1
0: A,B
1: A,B
2: A,B
etc.