using System; using Sirenix.OdinInspector; using System.Collections.Generic; using UnityEngine; [Serializable] public class LegionLevelData { [ReadOnly] [LabelText("宽")] public int Width; [ReadOnly] [LabelText("高")] public int Height; [ReadOnly] [LabelText("内径")] public float Radius; [HideInInspector] public List Buildings = new List(); [HideInInspector] [LabelText("出生点A")] public List BornPosA = new List(); [HideInInspector] [LabelText("出生点B")] public List BornPosB = new List(); [Serializable] public class Building { [LabelText("建筑唯一序号")] public int id; [LabelText("建筑ID")] public int buildingID; [LabelText("位置")] public int position; [LabelText("支援建筑")] public int supply = 0; } }