Function MineBotAnimation.OnTargetReached

OnTargetReached ()

Called when the end of path has been reached.

Private
void OnTargetReached ()

Called when the end of path has been reached.

An effect (endOfPathEffect) is spawned when this function is called However, since paths are recalculated quite often, we only spawn the effect when the current position is some distance away from the previous spawn-point