JEngine
JEngine copied to clipboard
The solution that allows unity games to update in runtime. 使Unity开发的游戏支持热更新的解决方案。
在热更方法 RunGame 里动态创建JBehaviour,最开始创建的前几个的Loop方法不会执行。 需要打包环境测试,在JBehaviour.cs里屏蔽掉如下代码: //编辑器下可视化 if (Application.isEditor) { var id = AddClassBind(gameObject, activeAfter, typeof(T)); var ret = (T)JBehaviours[id]; ret.Check(); return ret; } 可以在Unity编辑器下重现,前提是FpsMonitor里的_backupFrames初始化为0;
在Instantiate一个物体时增加阻塞功能,等执行完Awake和Enable的内容时 再继续执行其他内容
开发工具:unity2021.3.23 jengine版本:0.8 微信小程序工具:Stable1.06.25 #问题: 问题截图:[https://a.unity.cn/client_api/v1/buckets/88d52344-2cf9-4d47-a6d1-76302efc7df3/entry_by_path/content/?path=QQ图片20250624075348.png](url)