This commit is contained in:
yulong 2024-01-29 15:06:30 +08:00
commit 280475be0c
2 changed files with 2 additions and 2 deletions

View File

@ -571,7 +571,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
} }
} }
void OnMouseDwon() void OnMouseDown()
{ {
if (GlobalFlag.blueOrRed == 1 && Input.GetMouseButtonDown(0)) if (GlobalFlag.blueOrRed == 1 && Input.GetMouseButtonDown(0))
{ {

View File

@ -97,7 +97,7 @@ public class UnmannedAerialVehicleUI : MonoBehaviour
btnBeOnTheAlertAgainst.gameObject.SetActive(true); btnBeOnTheAlertAgainst.gameObject.SetActive(true);
btnAttack.gameObject.SetActive(true); btnAttack.gameObject.SetActive(true);
btnRouteSettings.gameObject.SetActive(false); btnRouteSettings.gameObject.SetActive(false);
btnFrequencyBand.gameObject.SetActive(false); btnFrequencyBand.gameObject.SetActive(true);
btnSurveillanceFrequencyBand.gameObject.SetActive(false); btnSurveillanceFrequencyBand.gameObject.SetActive(false);
break; break;
} }