Files
TEngine/HybridCLRData/README.md
ALEXTANG cc908c2b99 重置2.0.0(beta)
重置2.0.0(beta)
2022-08-25 22:53:10 +08:00

23 lines
938 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 使用说明
这个目录主要包含
- huatuo相关仓库
- 本地il2cpp目录
- 其他生成的目录
## 安装huatuo
正常情况下安装huatuo需要替换Unity安装目录下libil2cpp目录为huatuo版本的实现但Unity允许使用环境变量UNITY_IL2CPP_PATH自定义%IL2CPP_PATH%的位置。
因此我们不修改原始的il2cpp目录直接在本地创建huatuo版本的il2cpp并让环境变量指向它
安装流程
- 酌情修改 init_local_il2cpp_data.bat(或.sh)文件中代码
- `set IL2CPP_BRANCH=2020.3.33` 改成你的版本目前只有2020.3.33或2021.3.1
- `set IL2CPP_PATH=<你的Unity editor的il2cpp目录的路径>` 改成你的Unity安装目录
- 运行 init_local_il2cpp_data.bat 或.sh 文件 创建本地il2cpp目录即 LocalIl2CppData 目录。
如果看到初始化成功,表示运行成功。否则请参照文档,对应 .bat或.sh文件自己查找错误原因。