mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
33 lines
396 B
C#
33 lines
396 B
C#
using TEngine;
|
|
using TEngine.Core;
|
|
using TEngine.Logic;
|
|
|
|
try
|
|
{
|
|
App.Init();
|
|
|
|
AssemblySystem.Init();
|
|
|
|
ConfigTableSystem.Bind();
|
|
|
|
App.Start().Coroutine();
|
|
|
|
Entry.Start().Coroutine();
|
|
|
|
while(true)
|
|
{
|
|
Thread.Sleep(1);
|
|
ThreadSynchronizationContext.Main.Update();
|
|
SingletonSystem.Update();
|
|
}
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
Log.Error(e);
|
|
}
|
|
|
|
|
|
|
|
|
|
|