16 lines
452 B
C#
16 lines
452 B
C#
using Godot;
|
|
using GodotHostTest.GodotDI;
|
|
|
|
namespace GodotHostTest.Game;
|
|
|
|
public partial class LevelServiceSource : ServiceSource
|
|
{
|
|
[Export] private TargetSpawner _targetSpawner = null!;
|
|
|
|
// protected override void ConfigureServices(IServiceCollection serviceCollection)
|
|
// {
|
|
// serviceCollection
|
|
// .AddSingleton<ITargetCollector>(_targetSpawner)
|
|
// .AddSingleton<ITargetSpawner>(_targetSpawner);
|
|
// }
|
|
} |