Esempio n. 1
0
 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();
         }
     }
 }