Bit of a weird question, but this is bothering me.
If I want to fill a temporary array within a function, is there a nicer way to do it than this:
Seems like i should be able to do something like:
Thanks in advance
If I want to fill a temporary array within a function, is there a nicer way to do it than this:
Code:
local Array<Int> myArray; myArray.AddItem(1); myArray.AddItem(2); myArray.AddItem(3); myArray.AddItem(4); ...
Code:
local Array<Int>myArray; myArray = [1,2,3,4];

Comment