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.
22 lines
604 B
22 lines
604 B
4 years ago
|
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("B", "信息灾备楼");
|
||
|
NameDic.Add("C", "行管楼");
|
||
|
NameDic.Add("D", "中央化验室");
|
||
|
}
|
||
|
return NameDic[area];
|
||
|
}
|
||
|
public static SceneType type=SceneType.chemicalBuilding;
|
||
|
}
|