生成dll

首先参考 Unity3D游戏开发之C++插件接入

有所不同的地方,vs2017 新建的方式

Unity dll 使用及加密

下一步

Unity dll 使用及加密

其它的一样

注意

[DllImport("Native4Unity")]    Native4Unity 是导出的 dll文件名

 

加密DLL

使用 .NET Reactor

https://www.eziriz.com/reactor_download.htm

Unity dll 使用及加密

成功后会多一个  _Secure 后缀的文件夹

 

 

 

相关文章:

  • 2022-02-14
  • 2021-05-22
  • 2021-12-27
  • 2021-09-14
  • 2021-12-27
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2021-07-24
  • 2021-12-27
  • 2021-12-27
  • 2021-11-27
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案