Compare commits

..

No commits in common. "6d89f365d37b5c0003b5e23e7ae923a0462acb7b" and "27b17a8f6ed9932186786a48365ff2cb38842acd" have entirely different histories.

3 changed files with 9 additions and 22 deletions

View File

@ -833,8 +833,6 @@ MonoBehaviour:
toggle5: {fileID: 5382943705491709219}
toggle6: {fileID: 6251437642903478223}
toggle7: {fileID: 117463751223528660}
Frequency:
camera: {fileID: 480111845}
--- !u!65 &1537869982341012852
BoxCollider:
m_ObjectHideFlags: 0

View File

@ -81,10 +81,7 @@ public class Spectrumdetection : MonoBehaviour
/// 最终的波段
/// </summary>
public string Frequency;
/// <summary>
/// 摄像机显示层数
/// </summary>
public Camera camera;
void Start()
{
equipmentCommon = GetComponent<EquipmentCommon>();
@ -105,7 +102,6 @@ public class Spectrumdetection : MonoBehaviour
if (ison)
{
Frequency = "HUF";
camera.cullingMask = 1 << 16;
}
});
toggle2.onValueChanged.AddListener((ison) =>
@ -113,7 +109,6 @@ public class Spectrumdetection : MonoBehaviour
if (ison)
{
Frequency = "L";
camera.cullingMask = 1 << 17;
}
});
toggle3.onValueChanged.AddListener((ison) =>
@ -121,7 +116,6 @@ public class Spectrumdetection : MonoBehaviour
if (ison)
{
Frequency = "S";
camera.cullingMask = 1 << 18;
}
});
toggle4.onValueChanged.AddListener((ison) =>
@ -129,7 +123,6 @@ public class Spectrumdetection : MonoBehaviour
if (ison)
{
Frequency = "C";
camera.cullingMask = 1 << 19;
}
});
toggle5.onValueChanged.AddListener((ison) =>
@ -137,7 +130,6 @@ public class Spectrumdetection : MonoBehaviour
if (ison)
{
Frequency = "X";
camera.cullingMask = 1 << 20;
}
});
toggle6.onValueChanged.AddListener((ison) =>
@ -145,7 +137,6 @@ public class Spectrumdetection : MonoBehaviour
if (ison)
{
Frequency = "Ku";
camera.cullingMask = 1 << 21;
}
});
toggle7.onValueChanged.AddListener((ison) =>
@ -153,7 +144,6 @@ public class Spectrumdetection : MonoBehaviour
if (ison)
{
Frequency = "Ka";
camera.cullingMask = (1 << 22);
}
});
}

View File

@ -140,7 +140,6 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
if (ison)
{
disturb = "HUF";
}
});
toggle2.onValueChanged.AddListener((ison) =>