Disable In Inline Editors Attribute

Disables a property if it is drawn within an InlineEditor attribute.

[InfoBox("Click the pen icon to open a new inspector window for the InlineObject too see the difference this attribute makes.")]
[InlineEditor(Expanded = true)]
public DisabledInInlineEditorScriptableObject InlineObject;

[OnInspectorInit]
private void CreateData()
{
    InlineObject = ExampleHelper.GetScriptableObject<DisabledInInlineEditorScriptableObject>("Inline Object");
}

[OnInspectorDispose]
private void CleanupData()
{
    if (InlineObject != null) Object.DestroyImmediate(InlineObject);
}