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 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).
diff --git a/package.json b/package.json index a099b79..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.5", + "version": "0.3.8", "repository": { "type": "git", "url": "https://github.com/DCFApixels/DragonECS-Unity.git"