mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
23 lines
569 B
C#
23 lines
569 B
C#
using TEngineCore.Net;
|
|
|
|
namespace TEngineCore
|
|
{
|
|
public class TEngineDemo : TEngine
|
|
{
|
|
protected override void RegisterAllSystem()
|
|
{
|
|
base.RegisterAllSystem();
|
|
AddLogicSys(UISys.Instance);
|
|
AddLogicSys(DataCenterSys.Instance);
|
|
}
|
|
|
|
protected override void StartGame()
|
|
{
|
|
UnityEngine.Debug.Log("你好呀华佗".ToColor(ColorUtils.White));
|
|
|
|
UISys.Mgr.ShowWindow<TEngineLoginUI>();
|
|
|
|
GameClient.Instance.Connect("127.0.0.1", 54809, true);
|
|
}
|
|
}
|
|
} |