Beispiel #1
0
    public void ShopCut()
    {
        ShopPanel.SetActive(false);

        AchievementButton.SetActive(true);
        DailyRewardButton.SetActive(true);
        LeaderBoardButton.SetActive(true);
        SoundButton.SetActive(true);
        CreditButton.SetActive(true);

        MenuP.SetActive(true);
        CoinP.SetActive(true);
        HighCoinP.SetActive(true);
        SoundManagerMainMenu.instance.ButtonSoundPlay();
        //   ADManager.instance.StopBannerAd();
    }
Beispiel #2
0
    public void Achievement()
    {
        AchievenmentListIngame.instance.AchievementViewer();

        DailyRewardButton.SetActive(!IsAchievement);
        ShopButton.SetActive(!IsAchievement);
        LeaderBoardButton.SetActive(!IsAchievement);
        MenuP.SetActive(!IsAchievement);
        CoinP.SetActive(!IsAchievement);
        HighCoinP.SetActive(!IsAchievement);
        SoundButton.SetActive(!IsAchievement);
        CreditButton.SetActive(!IsAchievement);
        SoundManagerMainMenu.instance.ButtonSoundPlay();
        ADManager.instance.DisplayInterstitialAfterSomeTime();
        ADManager.instance.DisplayRewardedAfterSomeTime();
    }
Beispiel #3
0
    public void ShopClicked()
    {
        ShopPanel.SetActive(true);
        AchievementButton.SetActive(false);
        DailyRewardButton.SetActive(false);
        LeaderBoardButton.SetActive(false);
        SoundButton.SetActive(false);
        CreditButton.SetActive(false);

        MenuP.SetActive(false);
        CoinP.SetActive(false);
        HighCoinP.SetActive(false);
        SoundManagerMainMenu.instance.ButtonSoundPlay();
        //  ADManager.instance.Display_Banner();
        ADManager.instance.DisplayInterstitialAfterSomeTime();
        ADManager.instance.DisplayRewardedAfterSomeTime();
    }
Beispiel #4
0
    public void cutLBpanel()
    {
        LBpanel.SetActive(false);
        LB.SetActive(false);
        LB2.SetActive(false);

        AchievementButton.SetActive(true);
        DailyRewardButton.SetActive(true);
        ShopButton.SetActive(true);
        LeaderBoardButton.SetActive(true);
        SoundButton.SetActive(true);
        CreditButton.SetActive(true);

        MenuP.SetActive(true);
        CoinP.SetActive(true);
        HighCoinP.SetActive(true);
        SoundManagerMainMenu.instance.ButtonSoundPlay();
    }