public static void DestroyButton() { if (_removeAdsButton != null) { Destroy(_removeAdsButton.gameObject); _adsService.HideBanner(); } }
private void SetActive(bool isActive) { SetActivePanel(isActive); if (isActive) { _uiService.CurrentPanel = this; _adsService.HideBanner(); _tutorStartButton.gameObject.SetActive(_tutorStartButton.gameObject.activeInHierarchy); } else { if (!CloudVariables.IsAdsRemoved()) { _adsService.ShowBanner(); } } }