Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateSettings()

Creates and returns a new entry of NavMesh build settings available for runtime NavMesh building.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public static NavMeshBuildSettings CreateSettings()

Returns

Type

Description

NavMeshBuildSettingsThe created settings.

Remarks

This is useful for creating and storing settings to use for building NavMeshes for different sized characters.
The _agentTypeID will be positive and unique for the created settings.
Additional Resources: NavMeshBuildSettings