format
typescript
NavMeshAgent.avoidancePriorityclass: NavMeshAgent
description
The priority of the agent's obstacle avoidance.
A smaller value represents a more "reckless" behavior, while a higher value represents a more "courteous" behavior. The valid range of values is from 1 to 99 (inclusive). Any value passed to the setter will be truncated to an integer between 1 and 99.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
number | The priority of the agent's obstacle avoidance. |
