for (int i = 0; i < attributes.Count; i++)
{
for (int j = 0; j < attributes[i].Count; j++)
{
switch (attributes[i][j])
{
case "Image":
images.Add(this.content.Load<Texture2D>(contents[i][j]));
fade.Add(new FadeAnimation());
break;
}
}
}
我在该行收到以下错误Object reference not set to an instance of an object.
:
for (int j = 0; j < attributes[i].Count; j++)
有任何想法吗?