Gameplay.Unit.Movement.PathAgentController.Stop C# (CSharp) Method

Stop() public method

public Stop ( ) : void
return void
        public void Stop()
        {
            navMeshAgent.Stop();

            if (checkDestination != null)
            {
                StopCoroutine(checkDestination);
                checkDestination = null;
            }
        }