Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / buff / EffectFragmentAttribute.cs
@小李xl 小李xl on 17 Mar 2024 469 bytes 重构主动道具中
using System;

[AttributeUsage(AttributeTargets.Class)]
public class EffectFragmentAttribute : Attribute
{
    /// <summary>
    /// 效果名称
    /// </summary>
    public string EffectName { get; set; }
    
    /// <summary>
    /// 描述
    /// </summary>
    public string Description { get; set; }
    
    public EffectFragmentAttribute(string effectName, string description)
    {
        EffectName = effectName;
        Description = description;
    }
}