unity c# code list code example Example: unity list GameObject Obj; List<GameObject> Objects = new List<GameObject>(); Objects.Add(Obj);