Files
webRtc/Assets/Script/MainArchitecture.cs

17 lines
526 B
C#
Raw Normal View History

2026-05-12 17:45:40 +08:00
using Stary.Evo;
2026-05-17 11:35:43 +08:00
using Stary.Evo.UIFarme;
2026-05-12 17:45:40 +08:00
namespace RenderStreaming
{
public class MainArchitecture : Architecture<MainArchitecture>
{
protected override void Init()
{
//注册示例
//RegisterSystem<IScoreSystem>(new ScoreSystem());
2026-05-17 11:35:43 +08:00
RegisterSystem<IPanelSystem>(new PanelSystem(new ResourcesAssetLoader()));
2026-05-12 17:45:40 +08:00
RegisterSystem<IGlobalConfigSystem>(new GlobalConfigSystem());
RegisterSystem<ITimerSystem>(new TimerSystem());
}
}
}