EnableGUIAttribute

An attribute that enables GUI.

namespace Sirenix.OdinInspector
{
[AttributeUsageAttribute((AttributeTargets)32767)]
public class EnableGUIAttribute : Attribute
}

Requirements

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

See Also

Example

public class InlineEditorExamples : MonoBehaviour
{
    [EnableGUI]
    public string SomeReadonlyProperty { get { return "My GUI is usually disabled." } }
}