using Sirenix.OdinInspector; using UnityEngine; namespace HK { [CreateAssetMenu(fileName = "ThemeObject", menuName = "ScriptableObjects/ThemeObject", order = 1)] public class ThemeScriptableObject : ThemeBaseScriptableObject { [LabelText("主题第一张缩略图")] public Sprite banner; [LabelText("是否为正常主题")] public bool isSticker; [LabelText("正常主题")] [ShowIf("isSticker")] public Sprite[] lightStickers; [LabelText("是否为fixed主题")] public bool isFixed; [LabelText("fixed主题")] [ShowIf("isFixed")] public Sprite[] fixedStickers; [LabelText("主题名称")] public string themeName; [LabelText("是否只允许贴一张")] public bool isOnlyOne; [LabelText("是否只允许改变颜色")] public bool isChangeColor; [ShowIf("isChangeColor")] public Color[] colors; } }