A* Pathfinding Project  3.6.1
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
LayerGridGraphEditor Class Reference

Public Member Functions

override void OnInspectorGUI (NavGraph target)
 Override to implement graph inspectors.
 
- Public Member Functions inherited from GridGraphEditor
void DrawTextureData (GridGraph.TextureData data, GridGraph graph)
 Draws settings for using a texture as source for a grid.
 
override void OnSceneGUI (NavGraph target)
 Override to implement scene GUI drawing for the graph.
 
UnityEngine.Object ResourcesField (string label, UnityEngine.Object obj, System.Type type)
 Displays an object field for objects which must be in the 'Resources' folder.
 
void SaveReferenceTexture (GridGraph graph)
 
void SnapSizeToNodes (int newWidth, int newDepth, GridGraph graph)
 
- Public Member Functions inherited from GraphEditor
bool AutoScan ()
 Called by editor scripts to rescan the graphs e.g when the user moved a graph.
 
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 ()
 
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.
 

Additional Inherited Members

- Public Types inherited from GridGraphEditor
enum  GridPivot {
  Center, TopLeft, TopRight, BottomLeft,
  BottomRight
}
 
- Static Public Member Functions inherited from GridGraphEditor
static GridPivot PivotPointSelector (GridPivot pivot)
 
static Vector3 RoundVector3 (Vector3 v)
 Rounds a vector's components to whole numbers if very close to them.
 
- Public Attributes inherited from GridGraphEditor
bool isMouseDown = false
 
bool locked = true
 
GridPivot pivot
 
bool showExtra = false
 
bool textureVisible = true
 Should textures be allowed to be used.
 
- Static Public Attributes inherited from GridGraphEditor
static readonly string[] ChannelUseNames = new string[4] {"None","Penalty","Height","Walkability and Penalty"}
 

Member Function Documentation

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: