Path Debug
Path Debugger
How To Open
In the scene, select:
CityDebugger/PathDebugger
Settings
- Draw entity traffic pathon/off entity path visualisation in the scene at runtime.
Draw entity traffic node connection : on/off draw TrafficNode entity connection debug at runtime.
Draw pedestrian connection path : on/off PedestrianNode connection visualisation in the scene in the Editor.
Path Data Viewer
Tool for quick visualisation of path parameters.
How To Open
In the Unity toolbar:
Spirit604/CityEditor/Window/Path Data Viewer
How To Use
Select Path view type.
In the Colors info tab, press - to hide the paths with the selected option.
Press + to display the hidden path with the selected option again.
Press x to reset saved color of the parameter.
Settings
- Path view type: selected parameter for visualisation (examples)
Speed limit : speed limit of the :ref:`paths <path>.
Priority : priority of the :ref:`paths <path>.
Path type : path type of the :ref:`paths <path>.
Traffic path group : traffic group of the :ref:`paths <path>.
Node direction : node direction (forward or backward) of the waypoints in the paths.
Arrow light : shows the paths with the assigned custom light.
Examples
Path type example.
Priority path example.
Speed limit path example.
Path Index Debugger
How To Open
In the scene, select:
CityDebugger/PathDebugger
Settings
- Path debug mode :
Default : only the current path index is shown.
Parallel : parallel path indexes.
Neighbor paths : neighbor path indexes (paths that start from the same point).
Next connected paths : indexes to which the current path is connected.
Intersected paths : intersection paths indexes.
Car count : number of cars with the current path index.
- Index example:
543 (544, 545, 546) - current path index is 543. Other relevant path indexes, depending on the chosen Path debug mode.
Examples
Default “Path debug mode” example.
Parallel paths “Path debug mode” example.