CreateSettings()
Creates and returns a new entry of NavMesh build settings available for runtime NavMesh building.
読み終わるまでの所要時間 1 分最終更新 25日前
Definition
- Type: Method
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public static NavMeshBuildSettings CreateSettings()
Returns
Type | Description |
|---|---|
| NavMeshBuildSettings | The created settings. |
Remarks
This is useful for creating and storing settings to use for building NavMeshes for different sized characters.
The NavMeshBuildSettings.agentTypeID will be positive and unique for the created settings.
Additional Resources: NavMeshBuildSettings