This commit is contained in:
parent
8bc5450770
commit
31e5fc4b92
|
@ -127,6 +127,11 @@ public class Spectrumdetection : MonoBehaviour
|
||||||
Camera1.gameObject.SetActive(true);
|
Camera1.gameObject.SetActive(true);
|
||||||
Search();//微波武器朝向无人机
|
Search();//微波武器朝向无人机
|
||||||
}
|
}
|
||||||
|
if (onlyOne && equipmentCommon.deviceID.Length > 10)
|
||||||
|
{
|
||||||
|
onlyOne = false;
|
||||||
|
DroneViewDisplay.Instance.CreateUI(equipmentCommon.deviceID, Camera1, rawImage);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
private void Microwave()
|
private void Microwave()
|
||||||
{
|
{
|
||||||
|
|
|
@ -128,6 +128,10 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
||||||
/// 接收接口的频段
|
/// 接收接口的频段
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string InterferingFrequency1;
|
public string InterferingFrequency1;
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
private bool onlyOne = true;
|
||||||
void Awake()
|
void Awake()
|
||||||
{
|
{
|
||||||
terrestrialRadioInterferenceMangers.Add(this);
|
terrestrialRadioInterferenceMangers.Add(this);
|
||||||
|
@ -192,6 +196,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
||||||
Transform wrj = WRJs.Dequeue();
|
Transform wrj = WRJs.Dequeue();
|
||||||
Interferencemode(wrj);
|
Interferencemode(wrj);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Interferencemode();
|
//Interferencemode();
|
||||||
//Angularrange();
|
//Angularrange();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue