ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


NavMeshData

Constructs a new object for representing a NavMesh for the default agent type.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
Constructs a new object for representing a NavMesh for the default agent type.
public NavMeshData()

Remarks

At construction this NavMesh is empty, i.e. there are no polygons. You can use this class to create, build and add a NavMesh at runtime.
Constructs a new object representing a NavMesh for the specified agent type.
public NavMeshData(int agentTypeID)

Parameters

agentTypeID

The agent type ID to create a NavMesh for.