Class GraphEditor Extends GraphEditorBase

Public

Public Methods

AutoScan ()

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

Public
OnBaseInspectorGUI (target)

Draws common graph settings.

Public
OnEnable ()
Public
OnInspectorGUI (target)

Override to implement graph inspectors.

Public
OnSceneGUI (target)

Override to implement scene GUI drawing for the graph.

Public
ToggleGroup (label, value)

Draws a toggle with a bold label to the right.

Public

Public Static Methods

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
RoundVector3 (v)

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

Public Static
Separator ()

Draws a thin separator line.

Public Static
ToggleGroup (label, value)

Draws a toggle with a bold label to the right.

Public Static

Public Variables

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

Inherited Public Members

target

NavGraph this editor is exposing.

Public