29 lines
663 B
C#
29 lines
663 B
C#
|
|
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;
|
|
}
|
|
} |