Class PathTypesDemo Extends MonoBehaviour

Public

Demos different path types.

This script is an example script demoing a number of different path types included in the project. Since only the Pro version has access to many path types, it is only included in the pro version

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

Public Methods

Starts a path specified by PathTypesDemo.activeDemo.

OnGUI ()

Draw some helpful gui.

Will be called when the paths have been calculated.

Public Variables

activeDemo
Public
aimStrength
Public
end

Target point of paths.

Public
lineMat

Material used for rendering paths.

Public
lineWidth
Public
onlyShortestPath
Public
pathOffset

Offset from the real path to where it is rendered.

Public
searchLength
Public
spread
Public
squareMat

Material used for rendering result of the ConstantPath.

Public
start

Start of paths.

Public

Public Enums

DemoMode
Public

Private/Protected Members

Destroys all previous render objects.

Clears renders when the object is destroyed.

Update ()
constantPathMeshGo
Private
lastFloodPath
Private
lastPath
Private
lastRender
Private
multipoints
Private