This commit is contained in:
parent
6546693865
commit
2d7ef4a997
|
@ -348,24 +348,27 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
|
||||||
|
|
||||||
if (Spectrumdetection.Radius > 0)
|
if (Spectrumdetection.Radius > 0)
|
||||||
{
|
{
|
||||||
gxWRJCamera.orthographicSize = Spectrumdetection.Radius * 1000;
|
if (gxWRJCamera&&dzWRJCamera)
|
||||||
dzWRJCamera.orthographicSize = Spectrumdetection.Radius * 1000;
|
|
||||||
switch (Spectrumdetection.Radius)
|
|
||||||
{
|
{
|
||||||
case 1:
|
gxWRJCamera.orthographicSize = Spectrumdetection.Radius * 1000;
|
||||||
reveal = 24;
|
dzWRJCamera.orthographicSize = Spectrumdetection.Radius * 1000;
|
||||||
Mapdisplay();
|
switch (Spectrumdetection.Radius)
|
||||||
break;
|
{
|
||||||
case 2:
|
case 1:
|
||||||
reveal = 48;
|
reveal = 24;
|
||||||
Mapdisplay();
|
Mapdisplay();
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 2:
|
||||||
reveal = 72;
|
reveal = 48;
|
||||||
Mapdisplay();
|
Mapdisplay();
|
||||||
break;
|
break;
|
||||||
default:
|
case 3:
|
||||||
break;
|
reveal = 72;
|
||||||
|
Mapdisplay();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue