Constructor DisplayNameAttribute DisplayNameAttribute(string) Creates a new attribute. Declaration public DisplayNameAttribute(string displayName) Parameters Type Name Description string displayName The label to display in the inspector