小地图修改

This commit is contained in:
yulong 2024-01-03 14:22:40 +08:00
parent 60e4dacb83
commit a514562eb6
3 changed files with 7 additions and 5 deletions

View File

@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1 m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0} m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 1113159741} m_Sun: {fileID: 1113159741}
m_IndirectSpecularColor: {r: 0.16233039, g: 0.3061562, b: 0.6692572, a: 1} m_IndirectSpecularColor: {r: 0.16231853, g: 0.30614844, b: 0.6693007, a: 1}
m_UseRadianceAmbientProbe: 0 m_UseRadianceAmbientProbe: 0
--- !u!157 &3 --- !u!157 &3
LightmapSettings: LightmapSettings:
@ -63100,7 +63100,7 @@ MonoBehaviour:
m_PreInfinity: 2 m_PreInfinity: 2
m_PostInfinity: 2 m_PostInfinity: 2
m_RotationOrder: 4 m_RotationOrder: 4
randSeed: 1283952312 randSeed: 1703683171
isDoingTransition: 0 isDoingTransition: 0
minimumHeight: 0 minimumHeight: 0
--- !u!114 &1820978574 --- !u!114 &1820978574
@ -86123,7 +86123,7 @@ PrefabInstance:
- target: {fileID: 343842254875067695, guid: 708d7629e400aea448483dd5797ffa36, - target: {fileID: 343842254875067695, guid: 708d7629e400aea448483dd5797ffa36,
type: 3} type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: -439 value: -490.9
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 343842254875067695, guid: 708d7629e400aea448483dd5797ffa36, - target: {fileID: 343842254875067695, guid: 708d7629e400aea448483dd5797ffa36,
type: 3} type: 3}

View File

@ -119,7 +119,7 @@ public class RadarManger : MonoBehaviour
/// 批量标处理能力 /// 批量标处理能力
/// </summary> /// </summary>
public int NumberOfProbes = 0; public int NumberOfProbes = 0;
// Start is called before the first frame update
void Start() void Start()
{ {
equipmentCommon = GetComponent<EquipmentCommon>(); equipmentCommon = GetComponent<EquipmentCommon>();
@ -336,6 +336,7 @@ public class RadarManger : MonoBehaviour
private void OnDestroy() private void OnDestroy()
{ {
Destroy(RadarUi.gameObject);
OnActivationChanged -= OnActivationChangedHandler; OnActivationChanged -= OnActivationChangedHandler;
} }
} }

View File

@ -9,6 +9,7 @@ using static InterfaceManager;
using System; using System;
using UnityEngine.UI; using UnityEngine.UI;
using UnityEngine.EventSystems; using UnityEngine.EventSystems;
using UnityEditor.Experimental.GraphView;
/// <summary> /// <summary>
/// 地面无线电干扰控制 /// 地面无线电干扰控制
@ -348,7 +349,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
{ {
unmannedAerialVehicleManage = colliders[i].GetComponent<UnmannedAerialVehicleManage>(); unmannedAerialVehicleManage = colliders[i].GetComponent<UnmannedAerialVehicleManage>();
} }
if (TransmittedPower == "10~30W" || TransmittedPower == "30~50W50W" && unmannedAerialVehicleManage != null) if (TransmittedPower == "10~30W" || TransmittedPower == "30~50W" && unmannedAerialVehicleManage != null)
{ {
Debug.LogError("发射功率进来了1"); Debug.LogError("发射功率进来了1");
Debug.LogError(unmannedAerialVehicleManage.satellitePositioningFrequency); Debug.LogError(unmannedAerialVehicleManage.satellitePositioningFrequency);