文档

Unity Engine

Unity Engine

UpdatePositions()

Explicitly update the link endpoints.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
警告
Deprecated. UpdatePositions() has been deprecated together with the class. Declare the object as NavMeshLink and use UpdateLink() instead.
public void UpdatePositions()

Remarks

Updates the OffMeshLink endpoints to match the transforms specified by the start and end transforms.