hit
Flag set when the query encounters a particular valid situation.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public bool hit { get; set; }
Remarks
The queries set this flag differently. NavMesh.SamplePosition reports as true every time it returns a valid position on the NavMesh. The rest of the methods report as true when the edge of a NavMesh polygon blocks the query before it can reach the target position. In all other cases is false.
hithithit