更新资产
This commit is contained in:
@@ -2,9 +2,11 @@ using System.Threading.Tasks;
|
||||
using Stary.Evo;
|
||||
using Stary.Evo.UIFarme;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace Main
|
||||
{
|
||||
[Preserve]
|
||||
public class MainDomain : DomainBase, IController
|
||||
{
|
||||
public override void OnEnter(string param)
|
||||
@@ -25,7 +27,7 @@ namespace Main
|
||||
{
|
||||
await base.OnEnterAsync(param);
|
||||
Debug.Log("UnityEvo: OnEnterAsync进入成功");
|
||||
await this.GetSystem<IPanelSystem>().PushStack<DomainPanel>(parent: this.transform);
|
||||
await this.GetSystem<IPanelSystem>().PushStack<DomainPanel>();
|
||||
StringEventSystem.Global.Register("Rollback", OnRollback);
|
||||
}
|
||||
|
||||
@@ -54,7 +56,7 @@ namespace Main
|
||||
{
|
||||
//注册示例
|
||||
//RegisterSystem<IScoreSystem>(new ScoreSystem());
|
||||
RegisterSystem<IPanelSystem>(new PanelSystem());
|
||||
RegisterSystem<IPanelSystem>(new PanelSystem(new YooAssetLoader()));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user