更新资产

This commit is contained in:
2026-06-05 21:57:11 +08:00
parent ac6891e26a
commit 74b0e0bd3f
99 changed files with 952 additions and 437 deletions

View File

@@ -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()));
}
}
}