예제 #1
0
 public void OnUnityAdsDidFinish(string placementId, ShowResult showResult)
 {
     Logger.Instance.PrintLog(Common.DEBUG_TAG, "UnitAds Video Finished !!!");
     if (showResult == ShowResult.Skipped)
     {
         m_Controller.OnAdClosed();
     }
     else
     {
         if (showResult == ShowResult.Finished)
         {
             m_Controller.OnAdFinished();
         }
         else
         {
             m_Controller.OnAdFailedToShow();
         }
     }
 }
예제 #2
0
 public void HandleOnAdClosed(object sender, EventArgs args)
 {
     MonoBehaviour.print("HandleAdClosed event received");
     m_Controller.OnAdClosed();
 }