Files
match3-unity/Assets/Scripts/Scopes/RootLifetimeScope.cs
2025-12-14 10:59:21 +08:00

14 lines
357 B
C#

using Services;
using Services.Interfaces;
using VContainer;
using VContainer.Unity;
namespace Scopes {
public class RootLifetimeScope : LifetimeScope {
protected override void Configure(IContainerBuilder builder)
{
builder.RegisterComponentInHierarchy<InputService>()
.As<IInputService>();
}
}
}