mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-04-19 05:48:07 -04:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
24 lines
539 B
C#
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;
|
|
}
|
|
}
|