|
A* Pathfinding Project
3.1.4
The A* Pathfinding Project for Unity 3D
|
Inheritance diagram for GraphEditor:
Collaboration diagram for GraphEditor:Public Member Functions | |
| void | DrawCollisionEditor (GraphCollision collision) |
| Draws the inspector for a GraphCollision class . | |
| bool | FixLabel (string label, string buttonLabel="Fix", int buttonWidth=40) |
| Draws a small help box with a 'Fix' button to the right. | |
| void | HelpBox (string label) |
| Draws a small help box. | |
| Object | ObjectField (string label, Object obj, System.Type objType, bool allowSceneObjects) |
| Object | ObjectField (GUIContent label, Object obj, System.Type objType, bool allowSceneObjects) |
| void | OnBaseInspectorGUI (NavGraph target) |
| Draws common graph settings. | |
| virtual void | OnDestroy () |
| virtual void | OnDisable () |
| virtual void | OnDrawGizmos () |
| Override to implement scene Gizmos drawing for the graph editor. | |
| virtual void | OnEnable () |
| virtual void | OnInspectorGUI (NavGraph target) |
| Override to implement graph inspectors. | |
| virtual void | OnSceneGUI (NavGraph target) |
| Override to implement scene GUI drawing for the graph. | |
| void | Separator () |
| Draws a thin separator line. | |
| bool | ToggleGroup (string label, bool value) |
| Draws a toggle with a bold label to the right. | |
| bool | ToggleGroup (GUIContent label, bool value) |
| Draws a toggle with a bold label to the right. | |
Static Public Member Functions | |
| static void | DrawWireCube (Vector3 center, Vector3 size) |
| Draws a wire cube using handles. | |
Public Attributes | |
| AstarPathEditor | editor |
Public Attributes inherited from GraphEditorBase | |
| NavGraph | target |
| NavGraph this editor is exposing. | |
Private Member Functions | |
| byte[] | GetSerializedBytes (NavGraph target) |
| Returns a byte array with the settings of the graph. | |
| bool FixLabel | ( | string | label, |
| string | buttonLabel = "Fix", |
||
| int | buttonWidth = 40 |
||
| ) |
Draws a small help box with a 'Fix' button to the right.
Here is the caller graph for this function:
|
private |
Returns a byte array with the settings of the graph.
This function serializes the graph's settings and stores them in a byte array, used for undo operations. This will not save any additional metadata such as which A* version we are working on.
| void HelpBox | ( | string | label | ) |
Draws a small help box.
Works with EditorGUI.indentLevel
Here is the caller graph for this function:| bool ToggleGroup | ( | string | label, |
| bool | value | ||
| ) |
Draws a toggle with a bold label to the right.
Does not enable or disable GUI
Here is the caller graph for this function:| bool ToggleGroup | ( | GUIContent | label, |
| bool | value | ||
| ) |
Draws a toggle with a bold label to the right.
Does not enable or disable GUI