Exemplo n.º 1
0
    public void ShowRewardedAds(string type)
    {
        this.rewardAdsType = type;
#if UNITY_WEBGL
        PlayAdsenseAds();
#else
        if (unityAdsManager.IsUnityRewardAdsReady())
        {
            Debug.Log("show unity reward ads =================================== ");

            unityAdsManager.DisplayRewardedAds();
        }
        else
        {
            Debug.Log("show admob reward ads =================================== ");

            admobManager.ShowRewardedAd();
        }
#endif
    }
Exemplo n.º 2
0
	public bool IsAdsReady()
	{
		return unityAds.IsUnityRewardAdsReady() || admobAds.IsRewardedAdReady();
	}