18 lines
414 B
C#
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());
|
|
}
|
|
}
|
|
}
|
|
}
|