This commit is contained in:
commit
cd80282d19
|
@ -550,7 +550,7 @@ public class GameManager : MonoSingleton<GameManager>
|
||||||
{
|
{
|
||||||
string info = UIBootstrap.Instance.currentSceneInfo.data.DeviceContent;
|
string info = UIBootstrap.Instance.currentSceneInfo.data.DeviceContent;
|
||||||
//Debug.Log(info);
|
//Debug.Log(info);
|
||||||
if (info.Length > 0 && !string.IsNullOrWhiteSpace(info))
|
if (info.Length > 2 && !string.IsNullOrWhiteSpace(info))
|
||||||
{
|
{
|
||||||
modelsInfo = Jsonanalyze.FromJson<List<ModelInfo>>(info);
|
modelsInfo = Jsonanalyze.FromJson<List<ModelInfo>>(info);
|
||||||
for (int i = 0; i < modelsInfo.Count; i++)
|
for (int i = 0; i < modelsInfo.Count; i++)
|
||||||
|
|
|
@ -119,7 +119,7 @@ public class RadarManger : MonoBehaviour
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 批量标处理能力
|
/// 批量标处理能力
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int rcs = 0;
|
public float rcs = 0;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 渲染小地图摄像机
|
/// 渲染小地图摄像机
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -165,7 +165,7 @@ public class RadarManger : MonoBehaviour
|
||||||
if (isStartRehearsing)
|
if (isStartRehearsing)
|
||||||
{
|
{
|
||||||
minCamera.gameObject.SetActive(true);
|
minCamera.gameObject.SetActive(true);
|
||||||
targets = GameObject.FindGameObjectsWithTag("WRJ").ToList().FindAll(a => a.GetComponent<UnmannedAerialVehicleManage>().GetRCS() > float.Parse(RCS));
|
targets = GameObject.FindGameObjectsWithTag("WRJ").ToList().FindAll(a => a.GetComponent<UnmannedAerialVehicleManage>().GetRCS() > rcs);
|
||||||
|
|
||||||
foreach (Transform child in rawImage.transform)
|
foreach (Transform child in rawImage.transform)
|
||||||
{
|
{
|
||||||
|
@ -304,7 +304,7 @@ public class RadarManger : MonoBehaviour
|
||||||
break;
|
break;
|
||||||
case "RCS:":
|
case "RCS:":
|
||||||
RCS = weaponitemone[i].para_value;
|
RCS = weaponitemone[i].para_value;
|
||||||
rcs = int.Parse(RCS);
|
rcs = float.Parse(RCS);
|
||||||
break;
|
break;
|
||||||
case "探测成功率:":
|
case "探测成功率:":
|
||||||
DetectionSuccessRate = weaponitemone[i].para_value;
|
DetectionSuccessRate = weaponitemone[i].para_value;
|
||||||
|
|
Loading…
Reference in New Issue