21 lines
479 B
C#
21 lines
479 B
C#
|
using Godot;
|
||
|
using System;
|
||
|
using BITKit;
|
||
|
using IDIS.Services;
|
||
|
using Microsoft.Extensions.DependencyInjection;
|
||
|
|
||
|
namespace IDIS;
|
||
|
|
||
|
public partial class IDIS_GodotBasedTemplateService : EntityComponent
|
||
|
{
|
||
|
public override void BuildService(IServiceCollection serviceCollection)
|
||
|
{
|
||
|
serviceCollection.AddSingleton<IDIS_TemplateService, IDIS_TemplateService_JsonBased>();
|
||
|
}
|
||
|
|
||
|
public override void OnStart()
|
||
|
{
|
||
|
Entity.ServiceProvider.GetRequiredService<IDIS_TemplateService>();
|
||
|
}
|
||
|
}
|