当前位置:网站首页>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 完美
边栏推荐
- [flutter] What is MaterialApp and Material design
- Leetcode 119. Yang Hui's Triangle II
- [NCTF2019]Fake XML cookbook-1|XXE漏洞|XXE信息介绍
- Large-scale integrated office management system source code (OA+HR+CRM) source code sharing for free
- 打印1-100之间的奇数
- 如何快速拷贝整个网站所有网页
- Google engineer "code completion" tool; "Transformers NLP" accompanying book code; FastAPI development template; PyTorch model acceleration tool; cutting-edge papers | ShowMeAI News Daily
- 游戏窗口化的逆向分析
- PMP每日一练 | 考试不迷路-7.30(包含敏捷+多选)
- PHP留言反馈管理系统源码
猜你喜欢

Gorilla Mux 和 GORM 的使用方法

【HMS core】【Media】【视频编辑服务】 在线素材无法展示,一直Loading状态或是网络异常

【HMS core】【Media】【Video Editing Service】 The online material cannot be displayed, it is always in the loading state or the network is abnormal

【AGC】开放式测试示例

应用OPC解决方案实现控制系统数据的安全交换

AI遮天传 DL-CNN

你是一流的输家,你因此成为一流的赢家
![[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3](/img/7a/e7447b21421f3052c0b6c44d1c2817.png)
[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3

李沐d2l(七)kaggle房价预测+数值稳定性+模型初始化和激活函数

JVM学习----垃圾回收
随机推荐
How to use Redis for distributed applications in Golang
为人处世之道,与君共勉!
Overview of TiDB Tool Functions
函数调用方式_stdcall 、 _cdecl 、_thiscall
C#西门子S7 协议通过偏移量的方式读写PLC DB块
归一化与标准化
测试管理与规范
(1) Cloud computing technology learning - virtualized vSphere learning
[AGC] Quality Service 2 - Performance Management Example
华为云WeLink携手伙伴,共建协同办公生态
3D激光SLAM:LeGO-LOAM论文解读---特征提取部分
如何写一份高可读性的软件工程设计文档
路遇又一个流量风口,民宿长期向好的逻辑选对了吗
华为云数据治理生产线DataArts,让“数据‘慧’说话”
Qt 容器控件之Tab Widget 使用详解
Redis 复习计划 - Redis 数据结构和持久化机制
【HMS core】【FAQ】push kit、分析服务、视频编辑服务典型问题合集3
onenote use
Large-scale integrated office management system source code (OA+HR+CRM) source code sharing for free
游戏多开检测的几种实现方法及破解方法参考