文档

Unity Engine

Unity Engine

RemoveSettings(int)

Removes the build settings matching the agent type ID.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

agentTypeID

The ID of the entry to remove.

Remarks

If no matching settings are found or the agentTypeID is the default value 0, nothing is removed.