mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
修正GameApp_RegisterSystem文件漏写基类导致真机上无法正确执行GameApp.Instance.Active方法的bug
This commit is contained in:
@@ -3,10 +3,10 @@ using GameLogic;
|
|||||||
using TEngine;
|
using TEngine;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public partial class GameApp
|
public partial class GameApp : Singleton<GameApp>
|
||||||
{
|
{
|
||||||
private List<ILogicSys> _listLogicMgr;
|
private List<ILogicSys> _listLogicMgr;
|
||||||
|
|
||||||
public override void Active()
|
public override void Active()
|
||||||
{
|
{
|
||||||
CodeTypes.Instance.Init(_hotfixAssembly.ToArray());
|
CodeTypes.Instance.Init(_hotfixAssembly.ToArray());
|
||||||
@@ -15,13 +15,13 @@ public partial class GameApp
|
|||||||
RegisterAllSystem();
|
RegisterAllSystem();
|
||||||
InitSystemSetting();
|
InitSystemSetting();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 设置一些通用的系统属性。
|
/// 设置一些通用的系统属性。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitSystemSetting()
|
private void InitSystemSetting()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -32,7 +32,7 @@ public partial class GameApp
|
|||||||
//带生命周期的单例系统。
|
//带生命周期的单例系统。
|
||||||
AddLogicSys(BehaviourSingleSystem.Instance);
|
AddLogicSys(BehaviourSingleSystem.Instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 注册逻辑系统。
|
/// 注册逻辑系统。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Reference in New Issue
Block a user