新增geoDesc相关表格
This commit is contained in:
parent
508fd284dc
commit
2cca32af82
@ -14,6 +14,52 @@ public enum TerrainType { None,Land, ShallowSea, DeepSea } // 海陆层
|
||||
public enum TerrainFeature { None, Mountain,Road } // 地形层
|
||||
public enum Vegetation { None, Trees } // 植被层
|
||||
|
||||
public enum GeoBigType
|
||||
{
|
||||
Water,
|
||||
Mountain,
|
||||
Forest,
|
||||
Plain,
|
||||
Building
|
||||
};
|
||||
|
||||
public enum GeoSmallType
|
||||
{
|
||||
NavelBase,
|
||||
Military,
|
||||
Windmill,
|
||||
Market,
|
||||
Hill,
|
||||
Mountain,
|
||||
Volcano,
|
||||
Plain,
|
||||
Floodplain,
|
||||
Desert,
|
||||
Savanna,
|
||||
Sawmill,
|
||||
Mangrove,
|
||||
Deciduous,
|
||||
Jungle,
|
||||
Ocean,
|
||||
Sea,
|
||||
River,
|
||||
Lake,
|
||||
Port,
|
||||
Mine,
|
||||
Forge,
|
||||
Oasis,
|
||||
Marsh,
|
||||
Grassland,
|
||||
Evergreen,
|
||||
Taiga,
|
||||
Wetland,
|
||||
Permafrost,
|
||||
Tundra,
|
||||
Fjord
|
||||
|
||||
}
|
||||
|
||||
|
||||
public enum ResourceType
|
||||
{
|
||||
None, Fish, Starfish, Metal, Animal, Fruit, Crop, CityCenter, Treasure, Farm, Mine, LumberHut,Port,Sawmill,Forge,Windmill, Wonder,Bridge,Market,Temple,ForestTemple,MountainTemple,WaterTemple,Tower,Academy,
|
||||
|
||||
@ -42,8 +42,15 @@ namespace TH1_UI.View.Info
|
||||
|
||||
public void SetContent(TechType techType)
|
||||
{
|
||||
if (!Table.Instance.TechDataAssets.GetTechInfo(techType, out var info)) return;
|
||||
int count = Mathf.Max(info.TechAtomList.Count, 3);
|
||||
if(CircleList.Count <= count) return;
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
CircleList[i].gameObject.SetActive(true);
|
||||
}
|
||||
//if (techInfo == null) return;
|
||||
|
||||
|
||||
}
|
||||
public void OnClose()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user