기술 자료

Unity Engine

Unity Engine

GetSettingsNameFromID(int)

Returns the name associated with the NavMesh build settings matching the provided agent type ID.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public static string GetSettingsNameFromID(int agentTypeID)

Parameters

agentTypeID

The ID to look for.

Returns

Type

Description

stringThe name associated with the ID found.

Remarks

If no settings are found, the result is an empty string.