mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-26 18:26:23 +00:00
提交
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Game.Plugins.App
|
||||
|
||||
public static readonly JNGSocket Socket = new JNGSocket();
|
||||
public static readonly JNGSyncFrame Sync = new JNGSyncFrame();
|
||||
public static readonly JAPI Api = new(new JAPIConfig(){BaseURL = "http://192.168.0.118:8080"});
|
||||
public static readonly JAPI Api = new(new JAPIConfig(){BaseURL = "http://192.168.0.120:8080"});
|
||||
public static readonly EventDispatcher Event = EventDispatcher.Event;
|
||||
|
||||
public static SystemBase[] System()
|
||||
|
@@ -8,7 +8,7 @@ namespace Game.Plugins.App
|
||||
protected override async UniTask<string> GetUrl()
|
||||
{
|
||||
await UniTask.NextFrame();
|
||||
return "ws://192.168.0.118:8080/websocket";
|
||||
return "ws://192.168.0.120:8080/websocket";
|
||||
}
|
||||
}
|
||||
}
|
@@ -988,7 +988,7 @@ public class AstarPath : VersionedMonoBehaviour {
|
||||
// and then processes the graph updates
|
||||
AddWorkItem(new AstarWorkItem(() => {
|
||||
graphUpdatesWorkItemAdded = false;
|
||||
lastGraphUpdate = GetSync().Time.realtimeSinceStartup;
|
||||
lastGraphUpdate = Time.realtimeSinceStartup;
|
||||
|
||||
workItem.init();
|
||||
}, workItem.update));
|
||||
|
@@ -243,9 +243,9 @@ namespace Plugins.JNGame.Sync.Frame
|
||||
}
|
||||
});
|
||||
|
||||
// //执行下一帧物理
|
||||
// Physics.Simulate((float)dt / 1000);
|
||||
// Physics.SyncTransforms();
|
||||
//执行下一帧物理
|
||||
Physics.Simulate((float)dt / 1000);
|
||||
Physics.SyncTransforms();
|
||||
|
||||
|
||||
}
|
||||
|
@@ -8686,7 +8686,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 78396926cbbfc4ac3b48fc5fc34a87d1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_nId: 18
|
||||
_nId: 5
|
||||
isSyncInitSuccess: 0
|
||||
version: 1
|
||||
data:
|
||||
@@ -8761,7 +8761,7 @@ MonoBehaviour:
|
||||
seed: 0
|
||||
pivotPointRoot: {fileID: 0}
|
||||
spreadOutCount: 10
|
||||
showGraphs: 1
|
||||
showGraphs: 0
|
||||
--- !u!114 &534
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@@ -1 +1 @@
|
||||
Build from PC-20230316NUNE at 2024/2/2 15:34:44
|
||||
Build from PC-20230316NUNE at 2024/2/2 18:06:59
|
Reference in New Issue
Block a user