文档

Unity Engine

Unity Engine

Move(Vector3)

Apply relative movement to current position.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public void Move(Vector3 offset)

Parameters

offset

The relative movement vector.

Remarks

If the agent has a path it will be adjusted.