コード例 #1
0
    //备用CDN1
    public static string GetCDNReplaceUrl()
    {
#if  UNITY_WP8 && !UNITY_EDITOR
        return(WPSDKHelperScript.Instance().WPGetCDNReplaceUrl());
#elif UNITY_ANDROID && !UNITY_EDITOR
        return(AndroidHelper.platformHelper("getValue", "CDN_REPLACE_URL"));
#elif UNITY_IPHONE && !UNITY_EDITOR
        return(IOSHelper.Common_GetCDNReplaceUrl());
#else
        return("");
#endif
    }