コード例 #1
0
 /**
  * 广告展示回调
  *
  * @param view
  */
 public void onAdImpressed(string placementId, string callbackJson)
 {
     Debug.Log("onAdImpressed...unity3d.");
     if (mlistener != null)
     {
         mlistener.onAdImpressed(placementId, new ATCallbackInfo(callbackJson));
     }
 }
コード例 #2
0
 //Callbacks
 public void onAdImpressed(string unitId, string callbackJson)
 {
     Debug.Log("Unity:ATNativeAdClient::onAdImpressed...unity3d.");
     if (mlistener != null)
     {
         mlistener.onAdImpressed(unitId, new ATCallbackInfo(callbackJson));
     }
 }