1.1.0: Added README and ToolbarSettings, so visibility of tools can be set in Preferences -> Module -> Toolbar
This commit is contained in:
parent
e1d2deb4c5
commit
9802f8aaa3
23 changed files with 297 additions and 43 deletions
16
Editor/Toolbar/Utilities/ToolbarIMGUIContainer.cs
Normal file
16
Editor/Toolbar/Utilities/ToolbarIMGUIContainer.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
namespace Module.NavigationTool.Editor.Toolbar
|
||||
{
|
||||
internal sealed class ToolbarIMGUIContainer : IMGUIContainer
|
||||
{
|
||||
public int Priority { get; }
|
||||
|
||||
public ToolbarIMGUIContainer(Action onGuiHandler, int priority)
|
||||
: base(onGuiHandler)
|
||||
{
|
||||
Priority = priority;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue