示例#1
0
 /// <summary>
 /// 加载广告成功
 /// </summary>
 public static bool ADIsLoaded(string SDKName, ADType adType, string tag = "")
 {
     try
     {
         if (GetHasSDKService(s_ADServiceList, SDKName))
         {
             return(GetADService(SDKName).IsLoaded(adType, tag));
         }
         else
         {
             if (s_useNewSDKManager)
             {
                 return(SDKManagerNew.ADIsLoaded(SDKName, adType, tag));;
             }
             else
             {
                 Debug.LogError("SDKManager ADIsLoaded Not find: " + SDKName);
                 return(false);
             }
         }
     }
     catch (Exception e)
     {
         Debug.LogError("SDKManager ADIsLoaded Exception: " + e.ToString());
         return(false);
     }
 }