mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
HuaTuo最佳实践Update
HuaTuo最佳实践Update
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using TEngineCore.Net;
|
||||
using System;
|
||||
using TEngineCore.Net;
|
||||
|
||||
namespace TEngineCore
|
||||
{
|
||||
@@ -19,5 +20,15 @@ namespace TEngineCore
|
||||
|
||||
GameClient.Instance.Connect("127.0.0.1", 54809, true);
|
||||
}
|
||||
|
||||
public static Action<float> GetUpdateDelegate()
|
||||
{
|
||||
return Update;
|
||||
}
|
||||
|
||||
public static void Update(float deltaTime)
|
||||
{
|
||||
UnityEngine.Debug.Log("HuaTuo热更域Update");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user