I'm having an error
The type or namespace name `List' could not be found. Are you missing a using directive or an assembly reference?
Sample code:
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();
}
I'm using mono if it matters.
new List<string>();instead ofnew List();. (and ...<double>, and so on).