Navigation tools upgraded to use the new MainToolbarElement API
This commit is contained in:
parent
708b99f763
commit
3e1602162c
52 changed files with 837 additions and 66 deletions
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
#if !UNITY_6000_3_OR_NEWER
|
||||
using System;
|
||||
using System.Text;
|
||||
using JetBrains.Annotations;
|
||||
using UnityEditor;
|
||||
using UnityEditor.SceneManagement;
|
||||
using UnityEngine;
|
||||
|
|
@ -8,7 +8,6 @@ using UnityEngine.SceneManagement;
|
|||
|
||||
namespace Module.NavigationTool.Editor.Toolbar
|
||||
{
|
||||
[UsedImplicitly]
|
||||
internal sealed class ToolScenePicker : AbstractToolbarDrawer
|
||||
{
|
||||
public override bool Visible => ToolbarScenePickerSettings.IsSceneEnabled;
|
||||
|
|
@ -230,4 +229,5 @@ namespace Module.NavigationTool.Editor.Toolbar
|
|||
public const float BUTTON_WIDTH = 24.0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue