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