A* Pathfinding Project
3.8.9
The A* Pathfinding Project for Unity 3D
|
Debugger for the A* Pathfinding Project. More...
Debugger for the A* Pathfinding Project.
This class can be used to profile different parts of the pathfinding system and the whole game as well to some extent.
Clarification of the labels shown when enabled. All memory related things profiles the whole game not just the A* Pathfinding System.
Classes | |
struct | GraphPoint |
struct | PathTypeDebug |
Public Member Functions | |
void | LateUpdate () |
void | OnGUI () |
void | Start () |
Public Attributes | |
Font | font = null |
Font to use. | |
int | fontSize = 12 |
int | graphBufferSize = 200 |
bool | show = true |
bool | showFPS = false |
bool | showGraph = false |
bool | showInEditor = false |
bool | showMemProfile = false |
bool | showPathProfile = false |
int | yOffset = 5 |
Private Member Functions | |
void | DrawGraphLine (int index, Matrix4x4 m, float x1, float x2, float y1, float y2, Color col) |
Private Attributes | |
int | allocMem = 0 |
int | allocRate = 0 |
Rect | boxRect |
string | cachedText |
Camera | cam |
int | collectAlloc = 0 |
PathTypeDebug[] | debugTypes |
float | delayedDeltaTime = 1 |
float | delta = 0 |
int | fpsDropCounterSize = 200 |
float[] | fpsDrops |
GraphPoint[] | graph |
float | graphHeight = 100 |
float | graphOffset = 50 |
float | graphWidth = 100 |
int | lastAllocMemory = 0 |
float | lastAllocSet = -9999 |
float | lastCollect = 0 |
float | lastCollectNum = 0 |
float | lastDeltaTime = 0 |
float | lastUpdate = -999 |
int | maxNodePool = 0 |
int | maxVecPool = 0 |
int | peakAlloc = 0 |
GUIStyle | style |
StringBuilder | text = new StringBuilder() |
|
private |
void LateUpdate | ( | ) |
void OnGUI | ( | ) |
void Start | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Font font = null |
Font to use.
A monospaced font is the best
int fontSize = 12 |
|
private |
|
private |
|
private |
int graphBufferSize = 200 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
bool show = true |
bool showFPS = false |
bool showGraph = false |
bool showInEditor = false |
bool showMemProfile = false |
bool showPathProfile = false |
|
private |
|
private |
int yOffset = 5 |