コード例 #1
0
        protected override void OnTerminated()
        {
            _pathfinding.CancelPathfinding();
            _emote.SetEmoteState(EEmoteState.None);
            _inProgress = false;

            _pathfinding.SetTargetLocation(_initialLocation, () => {});
        }
コード例 #2
0
 public void StopPatrolling()
 {
     if (_patrolling)
     {
         _pathfinding.CancelPathfinding();
         _patrolling = false;
     }
 }