首次提交
This commit is contained in:
18
Assets/Scripts/NBC/Asset/Editor/Attributes.cs
Normal file
18
Assets/Scripts/NBC/Asset/Editor/Attributes.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user