A* Pathfinding Project  3.1.4
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Enumerations Properties Groups Pages
PathTypesDemo Class Reference

Demos different path types. More...

+ Inheritance diagram for PathTypesDemo:
+ Collaboration diagram for PathTypesDemo:

Public Member Functions

void ClearPrevious ()
 Destroys all previous render objects.
 
void DemoPath ()
 Starts a path specified by PathTypesDemo::activeDemo.
 
void OnApplicationQuit ()
 Clears renders on application quit.
 
void OnGUI ()
 Draw some helpful gui.
 
void OnPathComplete (Path p)
 Get the path back.
 

Public Attributes

int activeDemo = 0
 
float aimStrength = 0
 
Transform end
 
Material lineMat
 
float lineWidth
 
Vector3 pathOffset
 
float replaceChance = 0.1F
 
int searchLength = 1000
 
int spread = 100
 
Material squareMat
 
Transform start
 

Private Member Functions

void Update ()
 

Private Attributes

FloodPath lastFlood = null
 
List< GameObject > lastRender = new List<GameObject>()
 
List< Vector3 > multipoints = new List<Vector3>()
 

Detailed Description

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

The documentation for this class was generated from the following file: