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.

OnSceneGUI (target)

Override to implement scene GUI drawing for the graph.

Public Static Methods

ExportToFile (target)

Exports the INavmesh graph to a .obj file.

Public Static Variables

meshesUnreadableAtRuntimeFoldout
Public Static
tagMaskFoldout
Public Static

Public Enums

UseTiles
Public

Inherited Public Members

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

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

ObjectField (label, obj, objType, allowSceneObjects, assetsMustBeInResourcesFolder)

Draws common graph settings.

Rounds a vector's components to multiples of 0.5 (i.e 0.5, 1.0, 1.5, etc.) if very close to them.

Draws a thin separator line.

ToggleGroup (label, value)

Draws a toggle with a bold label to the right.

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

DimensionModeLabels
Private Static Readonly
DrawCollectionSettings (settings, dimensionMode)
DrawColliderDetail (settings)
SliceColumn (rect, width, spacing=0)
handlePoints
Private Static Readonly
perLayerModificationsList
Private
tagMaskList
Private