public void WinMoneyClick() { SeembaAnalyticsManager.Get.SendUserEvent("Win Money Click"); BottomMenuController._currentPage = 0; BottomMenuController.Show(); ShowScene(Menu.winMoney); }
public void backToWinMoney() { ViewsEvents.Get.WinMoneyClick(); BottomMenuController bottomMenu = BottomMenuController.Get; bottomMenu.selectWinMoney(); bottomMenu.unselectSettings(); bottomMenu.unselectHome(); bottomMenu.unselectHaveFun(); }
// 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(); }
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 yesSoldeInsuffisant(string last_view) { UnityThreading.ActionThread thread; thread = UnityThreadHelper.CreateThread(() => { Thread.Sleep(500); UnityThreadHelper.Dispatcher.Dispatch(() => { BottomMenuController bottomMenu = BottomMenuController.Get; bottomMenu.unselectWinMoney(); bottomMenu.selectSettings(); bottomMenu.unselectHome(); bottomMenu.unselectHaveFun(); 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; }
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(); }
public void HaveFunClick() { SeembaAnalyticsManager.Get.SendUserEvent("Have fun Click"); BottomMenuController.Show(); ShowScene(Menu.HaveFun); }
public void ContactClick() { SeembaAnalyticsManager.Get.SendUserEvent("Contact Click"); BottomMenuController.Hide(); ShowScene(Menu.Contact); }
public void LegalClick() { SeembaAnalyticsManager.Get.SendUserEvent("Legal Click"); BottomMenuController.Hide(); ShowScene(Menu.Legal); }
public void AchievementsClick() { SeembaAnalyticsManager.Get.SendUserEvent("Achivements Click"); BottomMenuController.Show(); ShowScene(Menu.Achievements); }
public void LeaderboardClick() { SeembaAnalyticsManager.Get.SendUserEvent("Leaderboard Click"); BottomMenuController.Show(); ShowScene(Menu.Leaderboard); }
public void MarketClick() { SeembaAnalyticsManager.Get.SendUserEvent("Market Click"); BottomMenuController.Show(); ShowScene(Menu.Market); }
void Awake() { sInstance = this; }