Files
sbox-public/game/addons/tools/Code/Scene/ObjectTool/NavMeshTool.cs
2025-12-02 18:27:31 +00:00

24 lines
543 B
C#

namespace Editor;
/// <summary>
/// Navigation tool contains tools for setting up and testing navigation in the scene
/// </summary>
[EditorTool( "tools.navmesh-tool" )]
[Title( "Edit Navigation" )]
[Icon( "directions_run" )]
[Alias( "navmeshtool" )]
[Group( "Scene" )]
internal class NavMeshTool : EditorTool
{
public override IEnumerable<EditorTool> GetSubtools()
{
yield return new NavTestSettings();
yield return new NavTestTool();
}
public override void OnDisabled()
{
SceneOverlay.Parent.Cursor = CursorShape.Arrow;
}
}