protected override void OnTerminated() { _pathfinding.CancelPathfinding(); _emote.SetEmoteState(EEmoteState.None); _inProgress = false; _pathfinding.SetTargetLocation(_initialLocation, () => {}); }
public void StopPatrolling() { if (_patrolling) { _pathfinding.CancelPathfinding(); _patrolling = false; } }