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.
This component should be attached to a GameObject together with a movement script such as AIPath, RichAI or AILerp. This component will then make the AI move towards the target set on this component.
- See also
- Pathfinding.IAstarAI.destination
◆ OnDisable()
◆ OnEnable()
◆ Update()
Updates the AI's destination every frame.
◆ ai
◆ target
The object that the AI should move to.
The documentation for this class was generated from the following file: