Version: 2023.2

NavMesh.GetSettingsNameFromID

切换到手册
public static string GetSettingsNameFromID (int agentTypeID);

参数

agentTypeID 要查找的 ID。

返回

string 与找到的 ID 关联的名称。

描述

返回与导航网格构建设置(与提供的代理类型 ID 匹配)关联的名称。

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


Did you find this page useful? Please give it a rating: