[+] Update Procedure Path And asmdef

[+] Update Procedure Path And asmdef
This commit is contained in:
ALEXTANG
2023-04-26 13:30:23 +08:00
parent 7db0d3fcc4
commit d3272e1bb1
33 changed files with 4 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
{ {
"name": "Procedure", "name": "GameMain",
"rootNamespace": "", "rootNamespace": "",
"references": [ "references": [
"GUID:aa06d4cc755c979489c256c1bcca1dfb", "GUID:aa06d4cc755c979489c256c1bcca1dfb",

View File

@@ -111,11 +111,6 @@ namespace GameMain
private void AllAssemblyLoadComplete() private void AllAssemblyLoadComplete()
{ {
if (GameModule.Resource.playMode == EPlayMode.EditorSimulateMode)
{
ChangeState<ProcedureStartGame>(m_procedureOwner);
return;
}
if (m_MainLogicAssembly == null) if (m_MainLogicAssembly == null)
{ {
Log.Fatal($"Main logic assembly missing."); Log.Fatal($"Main logic assembly missing.");

View File

@@ -246,6 +246,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_InstanceRoot: {fileID: 88107082} m_InstanceRoot: {fileID: 88107082}
m_dontDestroyUIRoot: 1 m_dontDestroyUIRoot: 1
m_enableErrorLog: 1
m_UICamera: {fileID: 110205813} m_UICamera: {fileID: 110205813}
--- !u!1 &88107081 --- !u!1 &88107081
GameObject: GameObject:

View File

@@ -13,7 +13,7 @@ namespace TEngine.Editor
"TEngine.Runtime", "TEngine.Runtime",
"Assembly-CSharp", "Assembly-CSharp",
"GameMain.Runtime", "GameMain.Runtime",
"GameMain",
"GameBase", "GameBase",
"GameLogic", "GameLogic",
"GameProto", "GameProto",
@@ -26,7 +26,6 @@ namespace TEngine.Editor
"Assembly-CSharp", "Assembly-CSharp",
"TEngine.Editor", "TEngine.Editor",
"Assembly-CSharp-Editor", "Assembly-CSharp-Editor",
"GameMain.Runtime",
"GameMain", "GameMain",
"GameMain.Editor", "GameMain.Editor",
"GameBase", "GameBase",

View File

@@ -35,7 +35,7 @@ namespace System.Net.Sockets.Kcp.Simple
buffer.Dispose(); buffer.Dispose();
} }
public async void SendAsync(byte[] datagram, int bytes) public void SendAsync(byte[] datagram, int bytes)
{ {
kcp.Send(datagram.AsSpan().Slice(0, bytes)); kcp.Send(datagram.AsSpan().Slice(0, bytes));
} }