how to use array to lod items in unity code example
Example 1: unity make a int arry with preset values
// For a preset arry in c#
var arr = new string[3] {"one", "two", "three"};
// Or you can do this:
string[] arr = {"one", "two", "three"};
Example 2: array objects java
obj array[] = new obj[10];
for (int i = 0; i < array.length; i++) {
array[i] = new obj(i);
}