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:
parent
faf964ac93
commit
d9e62f6589
9 changed files with 118 additions and 2 deletions
16
Editor/SceneView/EditorSceneViewToolHandleOverlay.cs
Normal file
16
Editor/SceneView/EditorSceneViewToolHandleOverlay.cs
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue