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