public string unity list code example
Example 1: unity list
GameObject Obj;
List<GameObject> Objects = new List<GameObject>();
Objects.Add(Obj);
Example 2: unity set list of strings
int[] numbers = new int[] {1, 2, 3, 4, 5};
int[] numbers = new int[5];
string[] names = new string[] {"Matt", "Joanne", "Robert"};