기술 자료

Unity Engine

Unity Engine

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

NavMeshBuildSettingsThe 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