public void Show() { FlurryEventsManager.SendStartEvent("candy_shop_length"); DefsGame.CurrentScreen = DefsGame.SCREEN_SKINS; DefsGame.IsCanPlay = false; ChooseColorForButtons(); ShowButtons(); }
public void Show(string prevScreenName) { PrevScreenName = prevScreenName; FlurryEventsManager.SendStartEvent("iap_shop_length"); FlurryEventsManager.SendEvent("iap_shop", PrevScreenName); DefsGame.CurrentScreen = DefsGame.SCREEN_IAPS; DefsGame.isCanPlay = false; ShowButtons(); }
public void showButtons() { _isButtonHiden = false; GameEvents.Send(ShowBannerAds); FlurryEventsManager.SendStartEvent("start_screen_length"); //UIManager.ShowUiElement ("MainMenu"); UIManager.ShowUiElement("elementBestScore"); UIManager.ShowUiElement("elementCoins"); UIManager.ShowUiElement("BtnSkins"); FlurryEventsManager.SendEvent("candy_shop_impression"); if (!_isWaitGiftTime) { UIManager.ShowUiElement("BtnGift"); FlurryEventsManager.SendEvent("collect_prize_impression"); } if (_isShowBtnViveoAds) { UIManager.ShowUiElement("BtnVideoAds"); FlurryEventsManager.SendEvent("RV_strawberries_impression", "start_screen"); } UIManager.ShowUiElement("BtnMoreGames"); UIManager.ShowUiElement("BtnSound"); UIManager.ShowUiElement("BtnRate"); FlurryEventsManager.SendEvent("rate_us_impression", "start_screen"); UIManager.ShowUiElement("BtnLeaderboard"); UIManager.ShowUiElement("BtnAchievements"); #if UNITY_ANDROID || UNITY_EDITOR UIManager.ShowUiElement("BtnGameServices"); #endif UIManager.ShowUiElement("BtnMoreGames"); UIManager.ShowUiElement("BtnShare"); UIManager.ShowUiElement("BtnPlus"); FlurryEventsManager.SendEvent("iap_shop_impression"); UIManager.HideUiElement("scrMenuWowSlider"); if (DefsGame.screenSkins) { if (DefsGame.screenSkins.CheckAvailableSkinBool()) { UIManager.ShowUiElement("BtnHaveNewSkin"); } else { UIManager.HideUiElement("BtnHaveNewSkin"); } } _isBtnSettingsClicked = false; }
void OnGameplayStart() { if (IsGameOver) { return; } ++DefsGame.QUEST_THROW_Counter; if (DefsGame.GameplayCounter == 1) { _points.ShowAnimation(); } if (_state == 1) { DefsGame.CurrentScreen = DefsGame.SCREEN_GAME; _points.ResetCounter(); UIManager.ShowUiElement("scrMenuWowSlider"); _state = 2; FlurryEventsManager.SendStartEvent("attempt_length"); } //isHint = false; }