1.5.0: Added interface and utility class for adding settings to toolbar settings provider
This commit is contained in:
parent
12de62dabb
commit
91c9504910
25 changed files with 272 additions and 133 deletions
|
|
@ -164,9 +164,7 @@ namespace Module.NavigationTool.Editor.Toolbar
|
|||
{
|
||||
Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
|
||||
Type iType = typeof(AbstractToolbarDrawer);
|
||||
|
||||
|
||||
|
||||
|
||||
for (var i = 0; i < assemblies.Length; i++)
|
||||
{
|
||||
Assembly assembly = assemblies[i];
|
||||
|
|
@ -180,6 +178,8 @@ namespace Module.NavigationTool.Editor.Toolbar
|
|||
list.Add((AbstractToolbarDrawer)FormatterServices.GetUninitializedObject(type));
|
||||
}
|
||||
}
|
||||
|
||||
list.Sort((t0, t1) => t0.Priority.CompareTo(t1.Priority));
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue