예제 #1
0
    // 是否开启资源更新
    public static bool IsEnableUpdate()
    {
#if  UNITY_WP8 && !UNITY_EDITOR
        return(WPSDKHelperScript.Instance().WPIsEnableUpdate());
#elif UNITY_ANDROID && !UNITY_EDITOR
        string ret = AndroidHelper.platformHelper("isEnableUpdate");
        if ("1".Equals(ret))
        {
            return(true);
        }
        else
        {
            return(false);
        }
#elif UNITY_IPHONE && !UNITY_EDITOR
        return(IOSHelper.Common_IsEnableUpdate());
#else
        return(false);
#endif
    }