Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


agentTypeID

The type ID for the agent.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public int agentTypeID { get; set; }

Remarks

This identifier determines which NavMeshes are available for the Agent to move on. See also _agentTypeID. Changing this ID will reset the Agent's current path.