Fix TypeSearchPopup showing types that base type is hidden
This commit is contained in:
@@ -79,7 +79,7 @@ namespace FlaxEditor.GUI
|
||||
var type = allTypes[i];
|
||||
if (_isValid(type))
|
||||
{
|
||||
var attributes = type.GetAttributes(false);
|
||||
var attributes = type.GetAttributes(true);
|
||||
if (attributes.FirstOrDefault(x => x is HideInEditorAttribute) == null)
|
||||
{
|
||||
AddItem(new TypeItemView(type, attributes));
|
||||
|
||||
Reference in New Issue
Block a user