Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

NavMeshAgent.avoidancePriority

public int avoidancePriority;

Description

The avoidance priority level.

When the agent is performing avoidance, agents of lower priority are ignored. The valid range is from 0 to 99 where: Most important = 0. Least important = 99. Default = 50.