Show In Inline Editors Attribute

Only shows 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 differences these attributes make.")] [InlineEditor(Expanded = true)] public MyInlineScriptableObject InlineObject; [OnInspectorInit] private void CreateData() { InlineObject = ExampleHelper.GetScriptableObject<MyInlineScriptableObject>("Inline Object"); } [OnInspectorDispose] private void CleanupData() { if (InlineObject != null) Object.DestroyImmediate(InlineObject); }