文档

Unity Engine

Unity Engine

Resume()

Resumes the movement along the current path after a pause.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
警告
Deprecated. Set isStopped to false instead.
public void Resume()

Remarks

See NavMeshAgent.Stop for how to pause movement along the current path.