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

スクリプト言語

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

NavMeshAgent.speed

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public var speed: float;
public float speed;
public speed as float

Description

経路を移動する際の最大移動速度

一般的にエージェントは経路を移動する際に速度を上げたり下げたりします(例えば急カーブを曲がる際に速度を下げる)。速度は経路セグメントの長さによりしばしば制限を受けますが、長い直線であっても速度はこのプロパティによりセットした値を超えません。 See Also: desiredVelocity.