diff --git a/src/Templates/Startup.cs.txt b/src/Templates/Startup.cs.txt index 78d23e8..c5a2818 100644 --- a/src/Templates/Startup.cs.txt +++ b/src/Templates/Startup.cs.txt @@ -5,7 +5,7 @@ namespace #NAMESPACE# { sealed class #SCRIPTNAME# : MonoBehaviour { - private EcsWorld _world; + private EcsDefaultWrold _world; private EcsPipeline _pipeline; private void Start() @@ -13,7 +13,7 @@ namespace #NAMESPACE# // is needed to integrate the internal debugging tool with the unity environment UnityDebugService.Init(); - _world = new EcsWorld(); + _world = new EcsDefaultWrold(); _pipeline = EcsPipeline.New() // register your systems here, for example: // .Add (new TestSystem1 ()) diff --git a/src/Templates/System.cs.txt b/src/Templates/System.cs.txt index c5c24f8..0327bd0 100644 --- a/src/Templates/System.cs.txt +++ b/src/Templates/System.cs.txt @@ -5,10 +5,10 @@ using DCFApixels.DragonECS; namespace #NAMESPACE# { - public class #SCRIPTNAME# : IEcsRunSystem, IEcsInject> + public class #SCRIPTNAME# : IEcsRunSystem, IEcsInject { - private EcsWorld _world; - public void Inject(EcsWorld obj) => _world = obj; + private EcsDefaultWrold _world; + public void Inject(EcsDefaultWrold obj) => _world = obj; public void Run(EcsPipeline pipeline) { diff --git a/src/Templates/SystemExtended.cs.txt b/src/Templates/SystemExtended.cs.txt index 25d2986..e23c94b 100644 --- a/src/Templates/SystemExtended.cs.txt +++ b/src/Templates/SystemExtended.cs.txt @@ -15,10 +15,10 @@ namespace #NAMESPACE# IEcsLateRunSystem, IEcsFixedRunSystem, IEcsDestroySystem, - IEcsInject> + IEcsInject { - private EcsWorld _world; - public void Inject(EcsWorld obj) => _world = obj; + private EcsDefaultWrold _world; + public void Inject(EcsDefaultWrold obj) => _world = obj; public void PreInit(EcsPipeline pipeline) {