private static void ProcessBundle(bool isUsingBundle)
    {
        //assets bundle.
        Configs.clientConfig.isReleaseBundle = isUsingBundle;
        AssetDatabase.SaveAssets();

        if (isUsingBundle)
        {
            ToLuaMenu.CopyLuaFilesToPrepareBundle();
            UIConfigEditor.SOToBundle();

            BundleBuildWindow.Build_Release();
        }
        else
        {
            //ToLuaMenu.CopyLuaFilesToRes();
            ToLuaMenu.CopyLuaFilesToPrepareBundle();
            UIConfigEditor.SOToBundle();

            BundleBuildWindow.Build_Develop();
        }
    }