Home>

There are multiple int type arrays. (Data already included)

int [] ArrayData1 = new int [50];
int [] ArrayData2 = new int [50];
int [] ArrayData3 = new int [50];

I want to be able to refer to these three ArrayData in List

List<reference type>ArrayDatas = new List<reference type>() {ArrayData1 reference, ArrayData2 reference, ArrayData3 reference};

Specific List creation method and ArrayData in this case
Please tell me how to refer.
For example, if you have ArrayDatas (0). [0], I want to be able to refer to ArrayData1 [0].
(I can't explain what I want to do, but thank you)

Environment)
PC: mac
Unity2018.3.14f1
Language: C #