This commit is contained in:
账号名 2024-03-08 15:08:51 +08:00
parent 8bc5450770
commit 31e5fc4b92
2 changed files with 10 additions and 0 deletions

View File

@ -127,6 +127,11 @@ public class Spectrumdetection : MonoBehaviour
Camera1.gameObject.SetActive(true);
Search();//微波武器朝向无人机
}
if (onlyOne && equipmentCommon.deviceID.Length > 10)
{
onlyOne = false;
DroneViewDisplay.Instance.CreateUI(equipmentCommon.deviceID, Camera1, rawImage);
}
}
private void Microwave()
{

View File

@ -128,6 +128,10 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
/// 接收接口的频段
/// </summary>
public string InterferingFrequency1;
/// <summary>
///
/// </summary>
private bool onlyOne = true;
void Awake()
{
terrestrialRadioInterferenceMangers.Add(this);
@ -192,6 +196,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
Transform wrj = WRJs.Dequeue();
Interferencemode(wrj);
}
//Interferencemode();
//Angularrange();
}