From a59ac0369c41296277d8b0601335d81df84bc7bd Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Thu, 28 Mar 2024 23:25:53 +0800 Subject: [PATCH 1/5] up version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a099b79..25e5116 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "displayName": "DragonECS-Unity", "description": "Integration with Unity for DragonECS", "unity": "2021.2", - "version": "0.3.5", + "version": "0.3.6", "repository": { "type": "git", "url": "https://github.com/DCFApixels/DragonECS-Unity.git" From 0af78209e0b99091a849d2ff2ef7d8862c1f44a6 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Thu, 28 Mar 2024 23:47:09 +0800 Subject: [PATCH 2/5] Update README-RU.md --- README-RU.md | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/README-RU.md b/README-RU.md index 7df4961..1d127ad 100644 --- a/README-RU.md +++ b/README-RU.md @@ -26,7 +26,9 @@ - [Debug Сервис](#debug-сервис) - [Визуальная отладка](#визуальная-отладка) - [Шаблоны](#шаблоны) -- [Связь с GameObject](#связь-с-gameObject) +- [Связь с GameObject](#связь-с-gameobject) +- [World Provider](#world-provider) +- [FixedUpdate LateUpdate ](#fixedupdate-lateupdate)
@@ -285,6 +287,8 @@ connect.Disconnect();

+
+ # World Provider `EcsWorldProvider` - это `ScriptableObject` обертка над `EcsWorld`, предназначенная для пробрасывания экземпляра мира и настройки через инспектор Unity. Для простых случаев достаточно будет использовать синглтон версию провайдера `EcsDefaultWorldSingletonProvider`. @@ -300,4 +304,33 @@ connect.Disconnect();

-

\ No newline at end of file +

+ +
+ +# FixedUpdate LateUpdate +```c# +using DCFApixels.DragonECS; +using UnityEngine; +public class EcsRoot : MonoBehaviour +{ + private EcsPipeline _pipeline; + //... + private void Update() + { + // Стандартный Run из фреймворка. + _pipeline.Run(); + } + private void FixedUpdate() + { + // Специальный Run для трансляции FixedUpdate. + _pipeline.FixedRun(); + } + private void LateUpdate() + { + // Специальный Run для трансляции LateUpdate. + _pipeline.LateRun(); + } + // ... +} +``` \ No newline at end of file From 082a001043dbb33471527b0af534fd0ea4b3c959 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Fri, 29 Mar 2024 20:55:04 +0800 Subject: [PATCH 3/5] up varsion to 0.3.7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 25e5116..dfc0cc3 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "displayName": "DragonECS-Unity", "description": "Integration with Unity for DragonECS", "unity": "2021.2", - "version": "0.3.6", + "version": "0.3.7", "repository": { "type": "git", "url": "https://github.com/DCFApixels/DragonECS-Unity.git" From 1f0038598321682482e95ca8a0819cc367485f7e Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Fri, 29 Mar 2024 22:30:11 +0800 Subject: [PATCH 4/5] up version to 0.3.8 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dfc0cc3..5dd34b7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "displayName": "DragonECS-Unity", "description": "Integration with Unity for DragonECS", "unity": "2021.2", - "version": "0.3.7", + "version": "0.3.8", "repository": { "type": "git", "url": "https://github.com/DCFApixels/DragonECS-Unity.git" From a5a6bb87f8da98bdceeda93976a8f1c4a1c019ba Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Thu, 4 Apr 2024 02:35:23 +0800 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5470b68..f099b3f 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ The extension will add a set of tools for debugging and communicating with the U > [!WARNING] > The project is a work in progress, API may change. > -> While the English version of the README is incomplete, you can view the [Russian version](https://github.com/DCFApixels/DragonECS-Unity/blob/main/README_RU.md). +> While the English version of the README is incomplete, you can view the [Russian version](https://github.com/DCFApixels/DragonECS-Unity/blob/main/README-RU.md).