言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

NavMeshAgent.Warp

Switch to Manual
public function Warp(newPosition: Vector3): bool;

Parameters

newPosition New position to warp the agent to.

Description

Warps agent to the provided position.

Returns true if successful, otherwise returns false.