Beispiel #1
0
        private void OpenWallet(string last_view)
        {
            BottomMenuController bottomMenu = BottomMenuController.Get;

            bottomMenu.unselectHome();
            bottomMenu.unselectHaveFun();
            bottomMenu.unselectWinMoney();
            bottomMenu.unselectSettings();
            BottomMenuController.Hide();
            ViewsEvents.Get.WalletClick(last_view);
        }
        //------------------------------------------------------------------------
        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;
        }
Beispiel #3
0
 public void ContactClick()
 {
     SeembaAnalyticsManager.Get.SendUserEvent("Contact Click");
     BottomMenuController.Hide();
     ShowScene(Menu.Contact);
 }
Beispiel #4
0
 public void LegalClick()
 {
     SeembaAnalyticsManager.Get.SendUserEvent("Legal Click");
     BottomMenuController.Hide();
     ShowScene(Menu.Legal);
 }