I use this code to be written in an array
But an error
void Start ()
{
List<int>[,] li = new List<int>[8,5];
li[0,0].Add(15); //error in here
Debug.Log(li[0,0][0]);
}
This is the error message
NullReferenceException: Object reference not set to an instance of an object Word.Start () (at Assets/Script/Word.cs:19)
I wanted to use List and arrays allocated objects, but I found
li[0,0].Add(15);
A mistake, I made it the wrong way?