Version: 2022.3
언어: 한국어

NavMesh.GetSettingsByID

매뉴얼로 전환
public static AI.NavMeshBuildSettings GetSettingsByID (int agentTypeID);

파라미터

agentTypeID The ID to look for.

반환

NavMeshBuildSettings The settings found.

설명

Returns an existing entry of NavMesh build settings.

If no previously-created settings match the provided agent type ID, the returned NavMeshBuildSettings struct will have the agentTypeID set to -1. See also: NavMeshBuildSettings.

Note: A default entry will always exist for the agentTypeID being 0.