public bool IsInHardLineOfSight(VisionComponent other) =>
 IsInHardLineOfSight(other.transform.position, out _);
 private bool IsInSoftLineOfSight(VisionComponent other)
 => IsInSoftLineOfSight(other.transform.position, other._stealthFactor);
예제 #3
0
 public bool IsInHardLineOfSightFast(VisionComponent other) =>
 IsInHardLineOfSightFast(
     gameObject.transform.position, other.transform.position, out _);