Change CM attributes to not check inhereted class.
This commit is contained in:
@@ -253,7 +253,7 @@ namespace FlaxEditor.Windows.Assets
|
||||
if (actorType.IsAbstract)
|
||||
continue;
|
||||
ActorContextMenuAttribute attribute = null;
|
||||
foreach (var e in actorType.GetAttributes(true))
|
||||
foreach (var e in actorType.GetAttributes(false))
|
||||
{
|
||||
if (e is ActorContextMenuAttribute actorContextMenuAttribute)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user