コード例 #1
0
 void ShowRewarVideo(string adUnitId)
 {
     if (rewardVideo.IsReady(adUnitId))
     {
         rewardVideo.Show(adUnitId);
     }
     else
     {
         print("===> Reward video ad is not ready yet.");
     }
 }
コード例 #2
0
 void ShowRewardedVideo(string adUnitId)
 {
     if (rewardVideo.IsReady(adUnitId))
     {
         rewardVideo.Show(adUnitId);
         print("atmosplay---show rewarded video");
     }
     else
     {
         print("atmosplay---RewardedVideo ad not ready");
     }
 }