using Sirenix.OdinInspector; using System.Collections; using System.Collections.Generic; using TableConfig; using UnityEngine; namespace Ether { public class PropertyData : MonoBehaviour { [LabelText("名称")] public string Name; [LabelText("等级")] public int Level; [LabelText("职业")] public List JobList; [ShowInInspector] [LabelText("属性")] [DictionaryDrawerSettings(KeyLabel = "属性名", ValueLabel = "属性值")] public Dictionary Propertys = new Dictionary() { { Property.Constitution, 10 }, { Property.Agility, 10 }, { Property.Strength, 10 }, { Property.Ranged, 10 }, { Property.Focus, 10 }, { Property.Intelligence, 10 }, { Property.Luck, 0 }, { Property.Stamina, 100 }, { Property.Hunger, 0 }, { Property.Thirst, 0 }, }; } }