Files
webRtc/Assets/Script/MainArchitecture.cs
2026-05-17 11:35:43 +08:00

17 lines
526 B
C#

using Stary.Evo;
using Stary.Evo.UIFarme;
namespace RenderStreaming
{
public class MainArchitecture : Architecture<MainArchitecture>
{
protected override void Init()
{
//注册示例
//RegisterSystem<IScoreSystem>(new ScoreSystem());
RegisterSystem<IPanelSystem>(new PanelSystem(new ResourcesAssetLoader()));
RegisterSystem<IGlobalConfigSystem>(new GlobalConfigSystem());
RegisterSystem<ITimerSystem>(new TimerSystem());
}
}
}