In my script is getting complex and I get a point that I don't want to set the length or size of a variable/Array so I would like to know how I can set a variable length using a variable.
Examples: (this ways doesn't work, that's why in need the correct form to do it)
var example : float[mylength]; //or also example.Length = myLength/*or myLength.Length*/;
so that way I don't have to put
var example : float;
and then put the length or size by manually.