A* Pathfinding Project
4.1.7
The A* Pathfinding Project for Unity 3D
|
Sets the destination of an AI to the position of a specified object. More...
Sets the destination of an AI to the position of a specified object.
Public Attributes | |
Transform | target |
The object that the AI should move to. More... | |
Private Member Functions | |
void | OnDisable () |
void | OnEnable () |
void | Update () |
Updates the AI's destination every frame. More... | |
Private Attributes | |
IAstarAI | ai |
|
private |
|
private |
|
private |
Updates the AI's destination every frame.
|
private |
Transform target |
The object that the AI should move to.