Exemple #1
0
    // 媒体渠道ID
    public static string GetMediaChannel()
    {
#if  UNITY_WP8 && !UNITY_EDITOR
        return(WPSDKHelperScript.Instance().WPgetMediaChannel());
#elif UNITY_ANDROID && !UNITY_EDITOR
        //return "";
        return(AndroidHelper.platformHelper("getMediaChannel"));
#elif UNITY_IPHONE && !UNITY_EDITOR
        return(IOSHelper.SDK_GetMediaChannel());
#else
        return("");
#endif
    }