Assets.Core.NavMesh.NavMeshExtention.HasReachedTarget C# (CSharp) Method

HasReachedTarget() public static method

public static HasReachedTarget ( this agent ) : bool
agent this
return bool
        public static bool HasReachedTarget(this NavMeshAgent agent)
        {
            return agent.remainingDistance < 0.2;
        }
NavMeshExtention