- Home /
Making lists out of other lists
Just a quickie for something i'm quickly trying to deduce if I can do.
Is it at all possible to create a new list using C# that, from the get go, is coded to contain the contents of multiple other existing lists? If so, how would I go about doing that?
Comment
Answer by dan_wipf · Nov 04, 2018 at 06:03 AM
List<List<GameObject>> my List;
//or
[System.Serializable]
public struct myList{
public List<GameObject> insideList;
}
Soemthing like that?
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Can we use a string instead a List<> name ? [C#] 1 Answer
How Do I Convert String to String Array In List.Add? 1 Answer