NavMeshAgent.agentTypeID
public int agentTypeID;
Description 描述
The type ID for the agent.
This identifier determines which NavMeshes are available for the Agent to move on. See also NavMeshBuildSettings.agentTypeID. Changing this ID will reset the Agent's current path.