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.
26 lines
746 B
26 lines
746 B
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("A", "海滨天下城"); |
|
|
|
NameDic.Add("HQT", "花艺馆"); |
|
NameDic.Add("FXG", "复兴馆"); |
|
NameDic.Add("ZTG", "竹藤馆"); |
|
NameDic.Add("SenGuan", "锦湖天地"); |
|
|
|
//NameDic.Add("B", "B建筑"); |
|
//NameDic.Add("C", "C建筑"); |
|
} |
|
return NameDic[area]; |
|
} |
|
public static SceneType type=SceneType.complexBuilding; |
|
}
|
|
|