1.6.0: Added a tool position and rotation scene view toolbar menu which uses buttons, instead of toggle drop down menu

This commit is contained in:
Anders Ejlersen 2022-07-25 22:00:16 +02:00
parent faf964ac93
commit d9e62f6589
9 changed files with 118 additions and 2 deletions

View file

@ -0,0 +1,16 @@
#if UNITY_2021_1_OR_NEWER
using UnityEditor;
using UnityEditor.Overlays;
namespace Module.NavigationTool.Editor.SceneViewToolbar
{
[Overlay(typeof(SceneView), "unity-custom-tool-handle-utility", "Custom/Tool Settings", true)]
internal sealed class EditorSceneViewToolHandleOverlay : ToolbarOverlay
{
public EditorSceneViewToolHandleOverlay()
: base("SceneView/Custom/HandlePosition", "SceneView/Custom/HandleRotation")
{
}
}
}
#endif