32 lines
906 B
C#
32 lines
906 B
C#
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<Building> Buildings = new List<Building>();
|
|
|
|
[HideInInspector] [LabelText("出生点A")] public List<int> BornPosA = new List<int>();
|
|
|
|
[HideInInspector] [LabelText("出生点B")] public List<int> BornPosB = new List<int>();
|
|
|
|
[Serializable]
|
|
public class Building
|
|
{
|
|
[LabelText("建筑唯一序号")] public int id;
|
|
|
|
[LabelText("建筑ID")] public int buildingID;
|
|
|
|
[LabelText("位置")] public int position;
|
|
|
|
[LabelText("支援建筑")] public int supply = 0;
|
|
}
|
|
} |