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