RedDotKeyAsset.cs 603 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. using Sirenix.OdinInspector;
  3. using Sirenix.Serialization;
  4. namespace YIUIFramework
  5. {
  6. //[CreateAssetMenu(fileName = "RedDotKeyAsset", menuName = "YIUI/RedDot/RedDotKeyAsset", order = 1)]
  7. [LabelText("红点枚举配置资源")]
  8. public class RedDotKeyAsset : SerializedScriptableObject
  9. {
  10. [OdinSerialize]
  11. [ReadOnly]
  12. [ShowInInspector]
  13. public Dictionary<int, RedDotKeyData> m_AllRedDotDic = new Dictionary<int, RedDotKeyData>();
  14. public IReadOnlyDictionary<int, RedDotKeyData> AllRedDotDic => m_AllRedDotDic;
  15. }
  16. }