A* Pathfinding Project
4.1.9
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 |
Additional Inherited Members | |
Protected Member Functions inherited from VersionedMonoBehaviour | |
virtual void | Awake () |
virtual int | OnUpgradeSerializedData (int version, bool unityThread) |
Handle serialization backwards compatibility. More... | |
|
private |
|
private |
|
private |
Updates the AI's destination every frame.
|
private |
Transform target |
The object that the AI should move to.