Documentation

Unity Engine

Download Unity

Unity Engine

agentTypeID

The agent type ID the NavMesh will be baked for.
Read time 1 minuteLast updated 8 hours ago

Definition

public int agentTypeID { get; set; }

Remarks

Each NavMeshAgent or NavMeshQueryFilter can only use a NavMesh which is built for its agent type; it is the ID that is matched.