Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / buff / ConditionFragmentAttribute.cs
@小李xl 小李xl on 17 Mar 2024 488 bytes 重构主动道具中

using System;

[AttributeUsage(AttributeTargets.Class)]
public class ConditionFragmentAttribute : Attribute
{
    /// <summary>
    /// 条件名称
    /// </summary>
    public string ConditionName { get; set; }
    
    /// <summary>
    /// 描述
    /// </summary>
    public string Description { get; set; }
    
    public ConditionFragmentAttribute(string conditionName, string description)
    {
        ConditionName = conditionName;
        Description = description;
    }
}