기술 자료

Unity Engine

Unity Engine

agentTypeID

The type ID for the agent.
읽는 시간 1분최근 업데이트: 25일 전

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 NavMeshBuildSettings.agentTypeID. Changing this ID will reset the Agent's current path.