mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
[+] TEngineServer
[+] TEngineServer
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using TEngine;
|
||||
using TEngine.Core;
|
||||
|
||||
public partial class GameApp
|
||||
{
|
||||
@@ -25,6 +26,13 @@ public partial class GameApp
|
||||
/// </summary>
|
||||
private void RegisterAllSystem()
|
||||
{
|
||||
if (_hotfixAssembly != null)
|
||||
{
|
||||
AssemblyManager.Load(AssemblyName.GameBase, _hotfixAssembly.Find(t=>t.FullName.Contains("GameBase")));
|
||||
AssemblyManager.Load(AssemblyName.GameProto, _hotfixAssembly.Find(t=>t.FullName.Contains("GameProto")));
|
||||
AssemblyManager.Load(AssemblyName.GameLogic, GetType().Assembly);
|
||||
}
|
||||
|
||||
//带生命周期的单例系统。
|
||||
AddLogicSys(BehaviourSingleSystem.Instance);
|
||||
}
|
||||
|
Reference in New Issue
Block a user