mirror of
https://github.com/DCFApixels/DragonECS-AutoInjections.git
synced 2025-09-17 12:24:34 +08:00
12 lines
331 B
C#
12 lines
331 B
C#
namespace DCFApixels.DragonECS
|
|
{
|
|
public static class AutoInjectSystemExtensions
|
|
{
|
|
public static EcsPipeline.Builder AutoInject(this EcsPipeline.Builder self, bool isAgressiveInjection = false)
|
|
{
|
|
self.Add(new AutoInjectSystem(isAgressiveInjection));
|
|
return self;
|
|
}
|
|
}
|
|
}
|