static bool CheckShader()
    {
        string[]      shaders      = _packTools.GetAssetsByBundle(ResourceConst.bundleShader);
        List <string> shader_infos = ShaderTools.CheckShaderLods(shaders);

        if (shader_infos == null || shader_infos.Count < 1)
        {
            return(true);
        }

        string info = string.Format("{0}个Shader LOD检测非法,打包停止,详情请看Log", shader_infos.Count);

        foreach (string shader_info in shader_infos)
        {
            Debug.LogError(shader_info);
            if (shader_infos.Count <= 5)
            {
                info = string.Format("{0}\n{1}", info, shader_info);
            }
        }

        EditorUtility.DisplayDialog("Shader检测失败", info, "停止打包");

        return(false);
    }