Exemplo n.º 1
0
 public bool CalculateDistance(ColliderDistanceInput input, ref NativeList <DistanceHit> allHits) => QueryWrappers.CalculateDistance(ref this, input, ref allHits);
Exemplo n.º 2
0
 // Calculate the distance from another collider to this one.
 public bool CalculateDistance(ColliderDistanceInput input) => QueryWrappers.CalculateDistance(ref this, input);
Exemplo n.º 3
0
 public bool CalculateDistance(ColliderDistanceInput input, out DistanceHit closestHit) => QueryWrappers.CalculateDistance(ref this, input, out closestHit);
Exemplo n.º 4
0
 // Calculate the distance from a point to this collider.
 public bool CalculateDistance(PointDistanceInput input) => QueryWrappers.CalculateDistance(ref this, input);