Пример #1
0
 public void WinMoneyClick()
 {
     SeembaAnalyticsManager.Get.SendUserEvent("Win Money Click");
     BottomMenuController._currentPage = 0;
     BottomMenuController.Show();
     ShowScene(Menu.winMoney);
 }
 // Start is called before the first frame update
 void OnEnable()
 {
     BottomMenuController.Show();
     BottomMenuController.Get.unselectHaveFun();
     BottomMenuController.Get.unselectWinMoney();
     BottomMenuController.Get.unselectMarket();
     BottomMenuController.Get.unselectSettings();
     BottomMenuController.Get.unselectLeaderboard();
     BottomMenuController.Get.unselectAchievements();
     BottomMenuController.Get.selectHome();
 }
Пример #3
0
        //------------------------------------------------------------------------
        public void LerpToPage(int aPageIndex)
        {
            focusedPage = aPageIndex;

            if (aPageIndex == 0)
            {
                BottomMenuController._currentPage = 1;
                BottomMenuController.Show();
            }
            else
            {
                BottomMenuController._currentPage = 1;
                BottomMenuController.Hide();
            }
            aPageIndex   = Mathf.Clamp(aPageIndex, 0, _pageCount - 1);
            _lerpTo      = _pagePositions[aPageIndex];
            _lerp        = true;
            _currentPage = aPageIndex;
        }
Пример #4
0
        private IEnumerator CongratsButtonClick()
        {
            HidePopupContent(PopupManager.Get.PopupController.PopupCongrats);
            if (ViewsEvents.Get.GetCurrentMenu() != ViewsEvents.Get.Menu)
            {
                ViewsEvents.Get.GoBack();
            }
            BottomMenuController.Show();
            if (ViewsEvents.Get.Menu.GetCurrentSubMenu() == ViewsEvents.Get.Menu.Settings)
            {
                ViewsEvents.Get.Menu.ScrollSnap.CompteBackButtonClick();
                yield return(new WaitForSeconds(0.15f));

                ViewsEvents.Get.WinMoneyClick();
            }
            else
            {
                ViewsEvents.Get.ShowScene(EventsController.last_view);
                yield return(new WaitForSeconds(0.15f));

                ViewsEvents.Get.WinMoneyClick();
            }
            ViewsEvents.Get.BankingInfo.CleatInputs();
        }
Пример #5
0
 public void HaveFunClick()
 {
     SeembaAnalyticsManager.Get.SendUserEvent("Have fun Click");
     BottomMenuController.Show();
     ShowScene(Menu.HaveFun);
 }
Пример #6
0
 public void AchievementsClick()
 {
     SeembaAnalyticsManager.Get.SendUserEvent("Achivements Click");
     BottomMenuController.Show();
     ShowScene(Menu.Achievements);
 }
Пример #7
0
 public void LeaderboardClick()
 {
     SeembaAnalyticsManager.Get.SendUserEvent("Leaderboard Click");
     BottomMenuController.Show();
     ShowScene(Menu.Leaderboard);
 }
Пример #8
0
 public void MarketClick()
 {
     SeembaAnalyticsManager.Get.SendUserEvent("Market Click");
     BottomMenuController.Show();
     ShowScene(Menu.Market);
 }