JEngine
JEngine copied to clipboard
The solution that allows unity games to update in runtime. 使Unity开发的游戏支持热更新的解决方案。
JBehaviourMgr.Update lateupdate等耗时问题


测试ios websocket断网响应很慢,也不会走断开的和连接失败的回调里。安卓和win32没有发现这个问题

有些新的安卓机切后台锁屏会造成网络掉线,而且同时主线程的update都是暂停的 这种情况下网络模块会尝试重连上 当解锁后恢复update的时候检测的是网络状态又是连上的,就会丢掉了掉线和连上的消息。简单的解决办法,RunSocketThread中在掉线后不主动重连的,等待主线程update抛出掉线事件后在触发重连。 
```csharp if (!success) { if (file.Directory != null) { DirectoryInfo newPath = new DirectoryInfo(file.Directory.FullName).Parent?.Parent?.Parent; if (newPath != null) { try { File.Move(file.FullName, newPath.FullName + "/" + file.Name); Log.Print(String.Format( Setting.GetString(SettingString.DLLNewReferenceLog), newPath.FullName...
JAction jAction = new JAction(); jAction.Delay(0.5f).Do(Attack); await jAction.ExecuteAsync(true); void Attack() { Debug.Log("DoSomething"); } attack方法不会被调用。