mirror of
https://github.com/DCFApixels/DragonECS-AutoInjections.git
synced 2025-09-17 20:34:34 +08:00
rename DeclareRunner to GetRunnerInstance
This commit is contained in:
parent
e8d46e81ab
commit
81eb3e215f
@ -6,7 +6,7 @@ namespace DCFApixels.DragonECS
|
|||||||
{
|
{
|
||||||
public static class ProcessRunnerBinder
|
public static class ProcessRunnerBinder
|
||||||
{
|
{
|
||||||
private static MethodInfo _declareRunnerMethod = typeof(EcsPipeline).GetMethod(nameof(EcsPipeline.DeclareRunner));
|
private static MethodInfo _declareRunnerMethod = typeof(EcsPipeline).GetMethod(nameof(EcsPipeline.GetRunnerInstance));
|
||||||
public static T GetRunnerAuto<T>(this EcsPipeline self) where T : IEcsProcess
|
public static T GetRunnerAuto<T>(this EcsPipeline self) where T : IEcsProcess
|
||||||
{
|
{
|
||||||
if(self.TryGetRunner(out T process))
|
if(self.TryGetRunner(out T process))
|
||||||
|
Loading…
Reference in New Issue
Block a user