unity list value code example
Example 1: unity list
GameObject Obj;
List<GameObject> Objects = new List<GameObject>();
Objects.Add(Obj);
Example 2: unity list
GameObject Obj;
List<GameObject> Objects = new List<GameObject>();
Objects.Add(Obj);
Objects.remove(Obj);,
Objects.Insert(0,Obj);
Objects.RemoveAt(0);