Unity在编辑器模式下运行解压网络下载的zip压缩包都没有问题,打包出来以后解压就不产生作用,找了好久才解决
一、引用的库文件:I18N.CJK.dll,I18N.dll ,I18N.West.dll ,Mono.Data.Tds.dll,System.Data.dll这五个DLL 加入到Plugins文件夹中。
这五个库文件内容所在地址为:XXX\Unity\Editor\Data\Mono\lib\mono\2.0文件夹下
参考连接 https://answers.unity.com/questions/1440392/unity-net-46-framework-causing-sqlconnection-conne.html
参考连接 https://blog.youkuaiyun.com/xiaochenXIHUA/article/details/86573837
参考链接 https://blog.youkuaiyun.com/DoitPlayer/article/details/48731817?utm_source=blogxgwz4
代码
using System;
using System.Collections;
using System.IO;
using ICSharpCode.Sh