public void CloseIapPanel() { Main.Instance.PlayButtonClickSound(); isRestoring = false; if (gameOverPanel.gameObject.activeSelf) { if (!Main.Instance.isNoAdsPurchased) { HZBannerAd.show(HZBannerAd.POSITION_TOP); } } inAppPanel.gameObject.SetActive(false); }