public static TestStruct[] InitSomeStructs(int count) { var result = PackedArray.New <TestStruct>(count); for (var i = 0; i < count; i++) { result[i] = new TestStruct(i); } return(result); }
public static IntFloatPair[] MakeArray() { return(PackedArray.New <IntFloatPair>(16)); }