Class RecastGraphEditor Extends GraphEditor

Public

Editor for the RecastGraph.

A* Pro Feature:

This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited.
The Pro version can be bought here

Public Methods

OnInspectorGUI (target)

Override to implement graph inspectors.

Public
OnSceneGUI (target)

Override to implement scene GUI drawing for the graph.

Public

Public Static Methods

ExportToFile (target)

Exports the INavmesh graph to a .obj file.

Public Static

Public Static Variables

tagMaskFoldout
Public Static

Public Enums

UseTiles
Public

Inherited Public Members

AutoScan ()

Called by editor scripts to rescan the graphs e.g when the user moved a graph.

Public
FixLabel (label, buttonLabel=…, buttonWidth=40)

Draws a small help box with a 'Fix' button to the right.

Public Static
ObjectField (label, obj, objType, allowSceneObjects, assetsMustBeInResourcesFolder)
Public Static
ObjectField (label, obj, objType, allowSceneObjects, assetsMustBeInResourcesFolder)
Public Static
OnBaseInspectorGUI (target)

Draws common graph settings.

Public
OnEnable ()
Public
Separator ()

Draws a thin separator line.

Public Static
ToggleGroup (label, value)

Draws a toggle with a bold label to the right.

Public
ToggleGroup (label, value)

Draws a toggle with a bold label to the right.

Public Static
editor
Public
fadeArea

Stores if the graph is visible or not in the inspector.

Public
infoFadeArea

Stores if the graph info box is visible or not in the inspector.

Public
target

NavGraph this editor is exposing.

Public

Private/Protected Members

handlePoints
Private Static Readonly