Documentation

Unity Engine

Download Unity

Unity Engine

agentTypeID

The type ID for the agent.
Read time 1 minuteLast updated 7 hours ago

Definition

public int agentTypeID { get; set; }

Remarks

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.