Example #1
0
    void ShowRewardedPanel(RewardReceivedEventArgs reward)
    {
        _rewardedDescription.text = "You won " + reward.Amount + " " + reward.Currency + "!";
        _rewardedPanel.SetActive(true);

        // The banner is hidden when the panel is displayed because the banner is on top of the game
        if (_bannerView != null)
        {
            _bannerView.SetVisible(false);
        }
    }