The Value
property of the EditorAttribute
class specifies the editor to be used for a particular property or type. This is typically used in the context of tools or game UI property editors to determine which editor should be applied.
The Value
property of the EditorAttribute
class specifies the editor to be used for a particular property or type. This is typically used in the context of tools or game UI property editors to determine which editor should be applied.
To use the Value
property, you need to create an instance of the EditorAttribute
and set the Value
to the desired editor's name or identifier. This is often done by applying the attribute to a property or class to specify the editor that should be used in the UI.
// Example of using EditorAttribute with the Value property [Editor("CustomEditorName")] public string MyProperty { get; set; }