Before making up any question,I read one post which was about defining global array, and they suggest several solution(using list instead of array or defining static class include an array). My question is: I don't want to use list, If I wanna to define a global array which the content of this array change from one function to another function, what should i do? example, if 1 is an array,
public float[] random()
{
.....
return 1;
}
public ......(.....)
array 1;
array 1 change into array 2;
return array 2;
public ......(.....)
array 1;
array 2;
array 3 = array 1+array 2;
return array 3;
public ......(.....)
......