From c1599bbae1dbb8b594bb2c6507ee114468a22ae6 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Thu, 30 Mar 2023 05:40:48 +0800 Subject: [PATCH] fix templates --- src/Templates/Startup.cs.txt | 4 ++-- src/Templates/System.cs.txt | 6 +++--- src/Templates/SystemExtended.cs.txt | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) 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) {