使用GameFramework/HybridCLR UPM插件的 案例工程
实例 https://github.com/focus-creative-games/hybridclr_unity.git
huatuo GitHub https://github.com/focus-creative-games
huatuo 工程示例 https://github.com/focus-creative-games/hybridclr_trial
哔哔哩安装教程 https://www.bilibili.com/video/BV1LZ4y1b7CR?share_source=copy_web
框架仓库 https://github.com/EllanJiang/GameFramework.git
Star Force 仓库 https://github.com/EllanJiang/StarForce.git
本项目 Star Force 是一个使用 Game Framework 接入Huatuo热更新实现范例,供使用者参考。
1.PackageManager导入插件 https://github.com/HeNuoLibrary/hybridclr_unity.git
2.自定义HybridCLR全局设置
3.加载热更脚本Assembly-CSharp.dll
4.在HotFixDll文件夹中创建AOT列表
5.加载AOT ,为aot assembly加载原始metadata
教程案例中的加载方式(案例中aot.dll直接放在bundle包中 获取便可知道有多少)
GF加载AOT方式(需要用这个列表直接加载所有的AOT)
6.创建CompileHotfixDll 快捷键
将AOT部分拆分为一个或多个程序集,Assembly-CSharp作为热更新程序集,同时还有其他0-N个热更新程序集。
安装和打包