This commit is contained in:
账号名 2024-01-29 15:04:05 +08:00
parent 845a7ca740
commit 640bb4f529
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;
} }