[+] 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": "",
"references": [
"GUID:aa06d4cc755c979489c256c1bcca1dfb",

View File

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

View File

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

View File

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

View File

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