using System.Collections; using System.Collections.Generic; using UnityEngine; public class AreaNameDic { public static Dictionary NameDic; public static string GetAreaName(string area) { if (NameDic==null) { NameDic = new Dictionary(); NameDic.Add("A", "人民医院"); } return NameDic[area]; } }