기술 자료

Unity Engine

Download Unity

Unity Engine

GetSettingsByIndex(int)

Returns an existing entry of NavMesh build settings by its ordered index.
읽는 시간 1분최근 업데이트: 14시간 전

Definition

public static NavMeshBuildSettings GetSettingsByIndex(int index)

Parameters

index

The index to retrieve from.

Returns

Type

Description

NavMeshBuildSettingsThe found settings.

Remarks

If the index is outside the valid range (0, GetSettingsCount-1), the returned NavMeshBuildSettings struct will have the agentTypeID set to -1.