diff --git a/Assets/Temp/Scripts/Spectrumdetection.cs b/Assets/Temp/Scripts/Spectrumdetection.cs index 964cb2e5..14beca3b 100644 --- a/Assets/Temp/Scripts/Spectrumdetection.cs +++ b/Assets/Temp/Scripts/Spectrumdetection.cs @@ -131,7 +131,7 @@ public class Spectrumdetection : MonoBehaviour { if (ison) { - Frequency = "HUF"; + Frequency = "UHF"; camera.cullingMask = 1 << 16; SweepFrequencyBandTo(); } @@ -366,7 +366,8 @@ public class Spectrumdetection : MonoBehaviour /// private void Search() { - Collider[] colliders = Physics.OverlapSphere(transform.position, float.Parse(Detectionrange) * 100); + attackColliders1.Clear(); + colliders = Physics.OverlapSphere(transform.position, float.Parse(Detectionrange) * 100); for (int i = 0; i < colliders.Length; i++) { if (colliders[i].transform.gameObject.tag == "WRJ")