using System.Collections.Generic; using NaughtyAttributes; using SLSFramework.General; using UnityEngine; using UnityEngine.Serialization; namespace Continentis.MainGame.Character { [CreateAssetMenu(menuName = "Continentis/MainGame/Character/AttributesDefaultCollection", fileName = "CharacterAttributesDefaultCollection")] public class CharacterAttributesDefaultCollection : ScriptableObject { [Header("Attributes")] [KeyWidth(0.75f)] public SerializableDictionary coreAttributes; [KeyWidth(0.75f)] public SerializableDictionary generalAttributes; [FormerlySerializedAs("endowingGeneralAttributes")] [KeyWidth(0.5f)] [Tooltip("初始化时赋予给CurrentGeneralAttributes的属性:第一栏是属性名,第二栏是初始化时使用对应名称的GeneralAttributes的数据(或一个常数),留空则默认为0")] public SerializableDictionary runtimeGeneralAttributes; } }