|
enum | GridPivot {
Center,
TopLeft,
TopRight,
BottomLeft,
BottomRight
} |
|
static GridPivot | PivotPointSelector (GridPivot pivot) |
|
static Vector3 | RoundVector3 (Vector3 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. More...
|
|
static bool | FixLabel (string label, string buttonLabel="Fix", int buttonWidth=40) |
| Draws a small help box with a 'Fix' button to the right. More...
|
|
static Object | ObjectField (string label, Object obj, System.Type objType, bool allowSceneObjects) |
|
static Object | ObjectField (GUIContent label, Object obj, System.Type objType, bool allowSceneObjects) |
|
static void | Separator () |
| Draws a thin separator line. More...
|
|
static bool | ToggleGroup (GUIContent label, bool value) |
| Draws a toggle with a bold label to the right. More...
|
|
bool | isMouseDown |
|
bool | locked = true |
|
GridPivot | pivot |
|
bool | showExtra |
|
AstarPathEditor | editor |
|
FadeArea | fadeArea |
| Stores if the graph is visible or not in the inspector. More...
|
|
FadeArea | infoFadeArea |
| Stores if the graph info box is visible or not in the inspector. More...
|
|
NavGraph | target |
| NavGraph this editor is exposing. More...
|
|
static readonly string [] | ChannelUseNames = { "None", "Penalty", "Height", "Walkability and Penalty" } |
|
◆ DrawCollisionEditor()
◆ DrawCutCorners()
override void DrawCutCorners |
( |
GridGraph |
graph | ) |
|
|
protectedvirtual |
◆ DrawJPS()
◆ DrawMaxClimb()
override void DrawMaxClimb |
( |
GridGraph |
graph | ) |
|
|
protectedvirtual |
◆ DrawMiddleSection()
override void DrawMiddleSection |
( |
GridGraph |
graph | ) |
|
|
protectedvirtual |
◆ DrawNeighbours()
override void DrawNeighbours |
( |
GridGraph |
graph | ) |
|
|
protectedvirtual |
◆ DrawTextureData()
Draws settings for using a texture as source for a grid.
- 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
Reimplemented from GridGraphEditor.
◆ DrawUse2DPhysics()
◆ OnInspectorGUI()
override void OnInspectorGUI |
( |
NavGraph |
target | ) |
|
|
virtual |
Override to implement graph inspectors.
Reimplemented from GridGraphEditor.
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Editor/GraphEditors/LayerGridGraphEditor.cs