Esempio n. 1
0
    /// <summary>
    /// Aborts and removes any existing path finder worker threads and paths.
    /// </summary>
    public void ClearPath()
    {
        if (_pathFinder != null)
        {
            _pathFinder.Abort();
            _pathFinder = null;
        }

        _path = null;
    }