Files
sbox-public/game/addons/tools/Code/Scene/ObjectTool/NavMeshTool.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

24 lines
539 B
C#

namespace Editor;
/// <summary>
/// Navigation tool contains tools for setting up and testing navigation in the scene
/// </summary>
[EditorTool( "tools.navmesh-tool" )]
[Title( "Navigation Tool" )]
[Icon( "directions_run" )]
[Alias( "navmeshtool" )]
[Group( "5" )]
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;
}
}