当前位置:网站首页>huato hot update environment construction (DLL method hot update C# code)
huato hot update environment construction (DLL method hot update C# code)
2022-07-30 16:35:00 【term】
Official introductory documentation reference:
https://focus-creative-games.github.io/hybridclr/start_up/#安装和环境搭建
1.First download the two packages 一个解释器 一个修改Unity IL2CPP 的代码包 (注意Unity 版本要求为2020.3.33 The author is also expanding on subsequent editions)
解释器下载:
https://github.com/focus-creative-games/hybridclr
2020.3.33 IL2CPP Library modification download:
https://github.com/focus-creative-games/il2cpp_plus/tree/2020.3.33
Download the official example project:
https://github.com/focus-creative-games/hybridclr_trial.git
The corresponding download is completed as shown in the figure below
2 拷贝 hybridclr/huatuo 目录 到 il2cpp_plus/libi2cpp 目录下
3. 复制第2步修改的libil2cpp 文件夹 替换掉Unity 2020.3.33 编辑器的libil2cpp文件夹(It is recommended to back up before replacing)
找到对应Unity 安装目录 打开
搞定 The environment is set up You can open the example project to see it
4 哦豁 报错 小问题 Look at him saying that there are fewer documents Open the directory he said to have a look
4.1 修改init_local_il2cpp_data.bat 文件 改成对应Unity 安装目录 双击运行 他会生成一个LocalIl2CppData 文件
Note that the circled places have to be changed The last two addresses Corresponding to the above fromgitdownload path
make a copy of this Add an overlay without prompting
双击 bat提示成功就可以了
可以看到 生成了一个 LocalIl2CppData 目录就可以了
5 重新打开工程 Let him load it up 就不会报错了 打开示例main场景
6 First compile a package to test (方便测试 I'll make one up firstPC包把)
6.1如果提示 IL2CPP not installed 表示安装Unity was missed when ticking 没下载Window下的IL2CPP 打包环境
打开Unity Hub 点击安装 Select the corresponding version 右键 添加模块
6.2直接点Build 选个目录 I will create a new one hereBuild 目录 Put it in here
然后等 他loading 完 看看到 有个exe 编译完成
6.3 打开 All mouse clicks can open the console You can see this print log output
6.4 现在对这个C# Make a simple modification and see
7.先编DLL
7.1 再把DLL 变成ab 包
7.2 刚刚的DLL compiled intocommon 里面 直接手动拷贝 覆盖进去(Simulate update download)
7.3 直接替换掉Build 目录下的StreamingAssets同名文件
7.4 再打开exe 看看效果
There is a print out 完美
边栏推荐
- JVM学习----垃圾回收
- The service already exists! Solution
- DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计
- Why is there no data reported when the application is connected to Huawei Analytics in the application debugging mode?
- Minio 入门
- 武汉星起航跨境电商有前景吗?亚马逊的未来趋势如何发展?
- js 切换数据源的时候该缓存checkbox选中结果并回显?
- node.js中怎么连接redis?
- How to intercept the first few digits of a string in php
- 静态网页和动态网页的不同之处;该如何选择服务器呢
猜你喜欢
DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计
李沐d2l(七)kaggle房价预测+数值稳定性+模型初始化和激活函数
C#西门子S7 协议通过偏移量的方式读写PLC DB块
【HMS core】【FAQ】A collection of typical questions about Account, IAP, Location Kit and HarmonyOS 1
如何写一份高可读性的软件工程设计文档
23. Please talk about the difference between IO synchronization, asynchronous, blocking and non-blocking
Google engineer "code completion" tool; "Transformers NLP" accompanying book code; FastAPI development template; PyTorch model acceleration tool; cutting-edge papers | ShowMeAI News Daily
【Linux Operating System】 Virtual File System | File Cache
rhce笔记3
onenote使用
随机推荐
How to intercept the first few digits of a string in php
UI测试新方法:视觉感知测试详解
第一次用debug查询,发现这个为空,是不是代表还没获得数据库的意思?求帮助。
PCIE入门
FME's scheme and operation process for reading and writing cass data
DTSE Tech Talk丨Phase 2: 1 hour in-depth interpretation of SaaS application system design
Public Key Retrieval is not allowed报错解决方案
【AGC】质量服务2-性能管理示例
静态网页和动态网页的不同之处;该如何选择服务器呢
Leetcode 118. Yanghui Triangle
23. Please talk about the difference between IO synchronization, asynchronous, blocking and non-blocking
Image information extraction DEM
23. 请你谈谈关于IO同步、异步、阻塞、非阻塞的区别
函数调用方式_stdcall 、 _cdecl 、_thiscall
Overview of TiDB Tool Functions
PMP每日一练 | 考试不迷路-7.30(包含敏捷+多选)
rhce笔记1
Moonbeam创始人解读多链新概念Connected Contract
huato 热更新环境搭建(DLL方式热更新C#代码)
游戏显示分辨率的逆向分析