Files
Fishing2/Assets/Scripts/NBC/Asset/Editor/Attributes.cs

18 lines
371 B
C#

using System;
namespace NBC.Asset.Editor
{
/// <summary>
/// 自定义名称
/// </summary>
[AttributeUsage(AttributeTargets.All, Inherited = false)]
public sealed class DisplayNameAttribute : Attribute
{
public DisplayNameAttribute(string name)
{
showName = name;
}
public string showName;
}
}