Hi,
I am using List<List> in my code.
Code (something like this but in more simple way):
public List<List<int>> a = new List<List<int>>();
List<int> b = new List<int>();
b.Add(1);
b.Add(2);
b.Add(3);
a.Add(b);
Debug.Log(a[0][1]) // returns this error: ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Please help,
thanks