Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / buff / ConditionFragmentAttribute.cs
@小李xl 小李xl on 17 Mar 2024 488 bytes 重构主动道具中
  1.  
  2. using System;
  3.  
  4. [AttributeUsage(AttributeTargets.Class)]
  5. public class ConditionFragmentAttribute : Attribute
  6. {
  7. /// <summary>
  8. /// 条件名称
  9. /// </summary>
  10. public string ConditionName { get; set; }
  11. /// <summary>
  12. /// 描述
  13. /// </summary>
  14. public string Description { get; set; }
  15. public ConditionFragmentAttribute(string conditionName, string description)
  16. {
  17. ConditionName = conditionName;
  18. Description = description;
  19. }
  20. }