2025-10-03 00:02:43 -04:00
|
|
|
|
using System.Collections.Generic;
|
2025-10-23 00:49:44 -04:00
|
|
|
|
using SLSFramework.General;
|
2025-10-03 00:02:43 -04:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Continentis.MainGame.Card
|
|
|
|
|
|
{
|
|
|
|
|
|
[CreateAssetMenu(menuName = "Continentis/MainGame/Card/AttributesDefaultCollection", fileName = "CardAttributesDefaultCollection")]
|
2025-10-23 00:49:44 -04:00
|
|
|
|
public class CardAttributesDefaultCollection : ScriptableObject
|
2025-10-03 00:02:43 -04:00
|
|
|
|
{
|
2025-10-23 00:49:44 -04:00
|
|
|
|
[Header("Attributes")]
|
|
|
|
|
|
public SerializableDictionary<string, float> variableAttributes;
|
|
|
|
|
|
|
|
|
|
|
|
public SerializableDictionary<string, float> originalAttributes;
|
2025-10-03 00:02:43 -04:00
|
|
|
|
|
|
|
|
|
|
[Tooltip("初始化时赋予给CurrentAttributes的属性:第一栏是属性名,第二栏是初始化时使用对应名称的CurrentAttributes的数据(或一个常数),留空则默认为0")]
|
2025-10-23 00:49:44 -04:00
|
|
|
|
public SerializableDictionary<string, string> endowingCurrentAttributes;
|
2025-10-03 00:02:43 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|