Remove unused

Remove unused
This commit is contained in:
ALEXTANG
2022-08-20 09:28:53 +08:00
parent ccfc4ce231
commit f287775e18
2 changed files with 0 additions and 63 deletions

View File

@@ -1,52 +0,0 @@

using System.Collections;
using TEngine;
using UI;
using UnityEngine;
public class TEngineTest : TEngine.TEngine
{
/// <summary>
/// 注册系统
/// </summary>
protected override void RegisterAllSystem()
{
base.RegisterAllSystem();
//注册系统例如UI系统网络系统战斗系统等等
AddLogicSys(BehaviourSingleSystem.Instance);
AddLogicSys(UISys.Instance);
}
protected override void StartGame()
{
StartCoroutine(Run());
}
IEnumerator Run()
{
yield return new WaitForSeconds(2.0f);
ObjMgr.Instance.Active();
UISys.Mgr.ShowWindow<TEngineUI>(true);
UISys.Mgr.ShowWindow<MsgUI>(true);
}
}
public class ObjMgr : TSingleton<ObjMgr>
{
public override void Active()
{
//外部注入Update
MonoUtility.AddUpdateListener(Update);
GameEventMgr.Instance.Send<string>(TipsEvent.Log, "WelCome To Use TEngine");
}
private void Update()
{
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 869b1b77e2356f14a86cbb2646bc4032
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: