unity define array
int[] arr1 = new int[3];
// Create an integer array with 3 elements
var arr2 = new int[3];
// Same thing, just with implicit declaration
var arr3 = new int[] { 1, 2, 3 };
// Creates an array with 3 elements and sets values.