Navigation tools upgraded to use the new MainToolbarElement API

This commit is contained in:
Anders Ejlersen 2025-12-06 15:17:30 +01:00
parent 708b99f763
commit 3e1602162c
52 changed files with 837 additions and 66 deletions

View file

@ -1,5 +1,5 @@
using System.Collections.Generic;
using JetBrains.Annotations;
#if !UNITY_6000_3_OR_NEWER
using System.Collections.Generic;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
@ -13,7 +13,6 @@ using UnityEditor.Experimental.SceneManagement;
namespace Module.NavigationTool.Editor.Toolbar
{
[UsedImplicitly]
internal sealed class ToolUICanvasPicker : AbstractToolbarDrawer
{
public override bool Visible => ToolbarUiSettings.IsUiEnabled;
@ -129,4 +128,5 @@ namespace Module.NavigationTool.Editor.Toolbar
IS_DIRTY = true;
}
}
}
}
#endif