Function AILerp.OnTargetReached

OnTargetReached ()

The end of the path has been reached.

Public
void OnTargetReached ()

The end of the path has been reached.

If you want custom logic for when the AI has reached it's destination add it here. You can also create a new script which inherits from this one and override the function in that script.

Deprecated

Avoid overriding this method. Instead poll the reachedDestination or reachedEndOfPath properties.