public bool IsInHardLineOfSight(VisionComponent other) =>
 IsInHardLineOfSight(other.transform.position, out _);
 private bool IsInSoftLineOfSight(VisionComponent other)
 => IsInSoftLineOfSight(other.transform.position, other._stealthFactor);
Ejemplo n.º 3
0
 public bool IsInHardLineOfSightFast(VisionComponent other) =>
 IsInHardLineOfSightFast(
     gameObject.transform.position, other.transform.position, out _);