AlicizaX/Client/Assets/Scripts/New/Example/App/ExampleAppRoot.cs
2026-03-25 18:33:59 +08:00

18 lines
414 B
C#

using UnityEngine;
namespace Aliciza.Services.Example
{
public sealed class ExampleAppRoot : GameServiceRoot
{
[SerializeField] private bool _registerTimerService = true;
protected override void RegisterAppServices(ServiceScope appScope)
{
if (_registerTimerService)
{
appScope.Register(new TimerService());
}
}
}
}