Files
MuHua-Core/Packages/Tools/Runtime/ModuleAttribute/CustomLabelAttribute.cs
T
MuHua-123 5374616980 1
2025-06-17 10:53:45 +08:00

21 lines
547 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MuHua {
/// <summary>
/// 使字段在Inspector中显示自定义的名称。
/// </summary>
public class CustomLabelAttribute : PropertyAttribute {
public string name;
/// <summary>
/// 使字段在Inspector中显示自定义的名称。
/// </summary>
/// <param name="name">自定义名称</param>
public CustomLabelAttribute(string name) {
this.name = name;
}
}
}