This commit is contained in:
账号名 2024-01-28 14:07:52 +08:00
parent 933b37c37c
commit 008ace5b6b
3 changed files with 15492 additions and 135 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1860,7 +1860,7 @@ Transform:
m_GameObject: {fileID: 5062416000507490738} m_GameObject: {fileID: 5062416000507490738}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 100, z: 0} m_LocalPosition: {x: 0, y: 100, z: 0}
m_LocalScale: {x: 15, y: 1, z: 15} m_LocalScale: {x: 5, y: 1, z: 5}
m_Children: [] m_Children: []
m_Father: {fileID: 8425345772495695667} m_Father: {fileID: 8425345772495695667}
m_RootOrder: 4 m_RootOrder: 4

View File

@ -355,12 +355,12 @@ public class Spectrumdetection : MonoBehaviour
{ {
if (colliders[i].transform.gameObject.tag == "WRJ") if (colliders[i].transform.gameObject.tag == "WRJ")
{ {
Debug.LogError("进来了"); //Debug.LogError("进来了");
UnmannedAerialVehicle unmannedAerialVehicle = null; UnmannedAerialVehicle unmannedAerialVehicle = null;
if (colliders[i].GetComponent<UnmannedAerialVehicle>()) if (colliders[i].GetComponent<UnmannedAerialVehicle>())
{ {
unmannedAerialVehicle = colliders[i].GetComponent<UnmannedAerialVehicle>(); unmannedAerialVehicle = colliders[i].GetComponent<UnmannedAerialVehicle>();
if (unmannedAerialVehicle != null) if (unmannedAerialVehicle != null&& unmannedAerialVehicle.unmannedAerialVehicleManage.dataLinkCommunicationFrequency== Frequency)
{ {
Microwaveweapon microwaveweapon = Microwaveweapon.MicrowaveweaponList.Find(x => (x != null && x.ismicow == false)); Microwaveweapon microwaveweapon = Microwaveweapon.MicrowaveweaponList.Find(x => (x != null && x.ismicow == false));
if (microwaveweapon) if (microwaveweapon)