Class LayerGridGraphEditor Extends GridGraphEditor

Public

Public Methods

OnInspectorGUI (target)

Override to implement graph inspectors.

Public

Inherited Public Members

AutoScan ()

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

Public
editor
Public
fadeArea

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

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

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

Public Static
GridPivot
Public
infoFadeArea

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

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

Draws common graph settings.

Public
OnEnable ()
Public
OnSceneGUI (target)

Override to implement scene GUI drawing for the graph.

Public
pivot
Public
PivotPointSelector (pivot)
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
showExtra
Public
target

NavGraph this editor is exposing.

Public
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

Private/Protected Members

ChannelUseNames
Protected Static Readonly
Draw2DMode (graph)
Protected
DrawCollisionEditor (collision)

Draws the inspector for a GraphCollision class .

Protected
DrawCutCorners (graph)
Protected
DrawErosion (graph)
Protected
DrawJPS (graph)
Protected
DrawMaxClimb (graph)
Protected
DrawMaxSlope (graph)
Protected
DrawMiddleSection (graph)
Protected
DrawNeighbours (graph)
Protected
DrawTextureData (data, graph)

Draws settings for using a texture as source for a grid.

Protected
DrawUse2DPhysics (collision)
Protected