コード例 #1
0
 public bool IsInHardLineOfSight(VisionComponent other) =>
 IsInHardLineOfSight(other.transform.position, out _);
コード例 #2
0
 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 _);