文档

Unity Engine

Unity Engine

radius

The avoidance radius for the agent.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

This is the agent's "personal space" within which obstacles and other agents should not pass.