Example #1
0
    void Update()
    {
        if (rewarded)
        {
            seeingGetSoulText = true;
            menuManager.OnBtnRewardNo();
            menuManager.RunGetSoulPanelFadeIn();
            menuManager.getSoulPanelText.text = "GOOD !" + "\nYOU GOT 100 SOUL !";
            PlayerInformation.SetFinalSeconds(120);
            PlayerInformation.IsWatched = true;
            PlayerInformation.AdTimeCheck();

            DatabaseManager.UpdateMoney(rewardAdAmountSoul);

            rewarded = false;
        }
    }