Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / buff / ChargeFragmentAttribute.cs
@小李xl 小李xl on 19 Mar 2024 475 bytes 制作新道具
using System;

[AttributeUsage(AttributeTargets.Class)]
public class ChargeFragmentAttribute : Attribute
{
    /// <summary>
    /// 充能属性名称
    /// </summary>
    public string ChargeName { get; set; }
    
    /// <summary>
    /// 描述
    /// </summary>
    public string Description { get; set; }
    
    public ChargeFragmentAttribute(string chargeName, string description)
    {
        ChargeName = chargeName;
        Description = description;
    }
}