Function RichAI.OnTargetReached
        
                OnTargetReached
        
                ()
    
            
            Called when the end of the path is reached.
                Protected
            
        void OnTargetReached ()
Called when the end of the path is reached.
Deprecated
    Avoid overriding this method. Instead poll the reachedDestination or reachedEndOfPath properties.