备份CatanBuilding瘦身独立工程
This commit is contained in:
29
Assets/Scripts/HexGrid/Data/HexBuilding.cs
Normal file
29
Assets/Scripts/HexGrid/Data/HexBuilding.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace HexGrid
|
||||
{
|
||||
public class Condtion{
|
||||
|
||||
};
|
||||
|
||||
|
||||
[System.Serializable]
|
||||
public class HexBuilding
|
||||
{
|
||||
public int zoneId;
|
||||
//public int tileId;
|
||||
public int buildingId;
|
||||
public int level;
|
||||
public string buildingName;
|
||||
// 直接使用的坐标
|
||||
public Vector3 buildingPosition; //
|
||||
public string buildCenterTileId;
|
||||
//TODO:LF 是否使用坐标
|
||||
public Vector2Int buildPosition;
|
||||
public List<Condtion> condtions;
|
||||
public List<string> hasTiles;
|
||||
// public GameObject buildModel;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user