mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-08-03 01:09:29 -04:00
24 lines
543 B
C#
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;
|
|
}
|
|
}
|