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

Moves the target in example scenes. More...

Detailed Description

Moves the target in example scenes.

This is a simple script which has the sole purpose of moving the target point of agents in the example scenes for the A* Pathfinding Project.

It is not meant to be pretty, but it does the job.

Public Member Functions

void OnGUI ()
 
void Start ()
 
void UpdateTargetPosition ()
 

Public Attributes

LayerMask mask
 Mask for the raycast placement.
 
bool onlyOnDoubleClick
 Determines if the target position should be updated every frame or only on double-click.
 
Transform target
 
bool use2D
 

Private Member Functions

void Update ()
 

Private Attributes

RichAI[] ais
 
AIPath[] ais2
 
AILerp[] ais3
 
Camera cam
 

Member Function Documentation

void OnGUI ( )
void Start ( )
void Update ( )
private
void UpdateTargetPosition ( )

Member Data Documentation

RichAI [] ais
private
AIPath [] ais2
private
AILerp [] ais3
private
Camera cam
private
LayerMask mask

Mask for the raycast placement.

bool onlyOnDoubleClick

Determines if the target position should be updated every frame or only on double-click.

Transform target
bool use2D

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