Version: 2019.4

NavMeshPath

class in UnityEngine.AI

マニュアルに切り替える

説明

経路のナビゲーションに使用されるクラス

The path is represented as a list of waypoints stored in the corners array. These points are not set directly from user scripts but a NavMeshPath with points correctly assigned is returned by the NavMesh.CalculatePath function and the NavMeshAgent.path property.

変数

cornersパスのコーナーポイント(読み取り専用)
statusパスのステータス(読み取り専用)

コンストラクタ

NavMeshPathNavMeshPath コンストラクター

Public 関数

ClearCornersパスからすべてのコーナーポイントを削除する
GetCornersNonAllocパスのコーナーを計算します

Did you find this page useful? Please give it a rating: