You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
using System.Collections; |
|
using System.Collections.Generic; |
|
using UnityEngine; |
|
|
|
public class AreaNameDic |
|
{ |
|
public static Dictionary<string, string> NameDic; |
|
public static string GetAreaName(string area) |
|
{ |
|
if (NameDic==null) |
|
{ |
|
NameDic = new Dictionary<string, string>(); |
|
//NameDic.Add("A0", "A0办公"); |
|
//NameDic.Add("A1", "3、4号馆"); |
|
//NameDic.Add("B0", "B0办公"); |
|
//NameDic.Add("B1", "1、2号馆"); |
|
//NameDic.Add("C0", "C0办公"); |
|
//NameDic.Add("C1", "7、8号馆"); |
|
//NameDic.Add("D0", "D0酒店"); |
|
//NameDic.Add("D1", "5、6号馆"); |
|
//NameDic.Add("E", "中央广场"); |
|
//NameDic.Add("EH", "东厅"); |
|
//NameDic.Add("WH", "西厅"); |
|
//NameDic.Add("NH", "北厅"); |
|
//NameDic.Add("G1", "地下停车场"); |
|
//NameDic.Add("G2", "地铁站"); |
|
|
|
//NameDic.Add("DT", "地铁站"); |
|
//NameDic.Add("G", "地下停车场"); |
|
//NameDic.Add("R", "成都金融中心"); |
|
NameDic.Add("R", "恒隆广场"); |
|
} |
|
return NameDic[area]; |
|
} |
|
}
|
|
|