A* Pathfinding Project
4.0.8
The A* Pathfinding Project for Unity 3D
|
Moves the target in example scenes. More...
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 |
void OnGUI | ( | ) |
void Start | ( | ) |
|
private |
void UpdateTargetPosition | ( | ) |
|
private |
|
private |
|
private |
|
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 |