1.7.0: Added option to sort scenes by asset labels
This commit is contained in:
parent
d9e62f6589
commit
cceef7bb7e
9 changed files with 136 additions and 21 deletions
|
|
@ -25,8 +25,12 @@ namespace Module.NavigationTool.Editor.Toolbar
|
|||
{
|
||||
Type type = types[j];
|
||||
|
||||
if (!type.IsInterface && !type.IsAbstract && iType.IsAssignableFrom(type))
|
||||
list.Add((IToolbarSettings)FormatterServices.GetUninitializedObject(type));
|
||||
if (type.IsInterface || type.IsAbstract || !iType.IsAssignableFrom(type))
|
||||
continue;
|
||||
|
||||
var toolbar = (IToolbarSettings)FormatterServices.GetUninitializedObject(type);
|
||||
toolbar.Initialize();
|
||||
list.Add(toolbar);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue