Warp(Vector3)
Warps agent to the provided position.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public bool Warp(Vector3 newPosition)
Parameters
New position to warp the agent to.
Returns
Type | Description |
|---|---|
| bool | True if agent is successfully warped, otherwise false. |
Remarks
Returns true if successful, otherwise returns false.