RedDotConfigData.cs 739 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using Sirenix.OdinInspector;
  4. using Sirenix.Serialization;
  5. namespace YIUIFramework
  6. {
  7. [HideLabel]
  8. [HideReferenceObjectPicker]
  9. [Serializable]
  10. public class RedDotConfigData
  11. {
  12. [LabelText("Key")]
  13. [ShowInInspector]
  14. [OdinSerialize]
  15. public int Key { get; set; }
  16. [LabelText("所有父级列表")]
  17. [ShowInInspector]
  18. [OdinSerialize]
  19. public List<int> ParentList { get; set; } = new List<int>();
  20. [LabelText("是否允许开关提示")]
  21. [ShowInInspector]
  22. [OdinSerialize]
  23. public bool SwitchTips { get; set; } = true; //true = 玩家可开关 false = 不可开关 (永久提示)
  24. }
  25. }