This commit is contained in:
Jean-Baptiste Perrier
2021-05-11 16:16:37 +02:00
parent 166f7c2728
commit 03cd86b4d7

View File

@@ -266,7 +266,7 @@ namespace FlaxEditor.CustomEditors.Editors
continue;
// Skip hidden fields, handle special attributes
if ((!p.IsPublic && !showInEditor) || showInEditor)
if ((!p.IsPublic && !showInEditor) || attributes.Any(x => x is HideInEditorAttribute))
continue;
items.Add(new ItemInfo(p, attributes));