我遇到了一个错误
类型或命名空间名称 `List' 未找到。您是否缺少 using 指令或程序集引用?
示例代码:
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class city1 : MonoBehaviour
{
public static List<string> items = new List ();
public static List<double> itemsprice = new List();
public static List<double> qu = new List();
}
如果有影响的话,我正在使用mono。
new List<string>();
而不是new List();
(以及...<double>等等)。 - 500 - Internal Server Error