diff --git a/README-RU.md b/README-RU.md index 22c4381..cff9c33 100644 --- a/README-RU.md +++ b/README-RU.md @@ -20,7 +20,7 @@ -
+
Русский
@@ -31,7 +31,7 @@ - +
中文
@@ -900,3 +900,4 @@ The type or namespace name 'ReadOnlySpan<>' could not be found (are you missing








+ \ No newline at end of file diff --git a/README-ZN.md b/README-ZH.md similarity index 99% rename from README-ZN.md rename to README-ZH.md index 395cfbf..1bdbba2 100644 --- a/README-ZN.md +++ b/README-ZH.md @@ -31,8 +31,8 @@ - -
+
+
中文
@@ -898,3 +898,4 @@ The type or namespace name 'ReadOnlySpan<>' could not be found (are you missing








+ diff --git a/README-ZN.md.meta b/README-ZH.md.meta similarity index 100% rename from README-ZN.md.meta rename to README-ZH.md.meta diff --git a/README.md b/README.md index b3ab24a..d477191 100644 --- a/README.md +++ b/README.md @@ -28,12 +28,12 @@ -
+
English(WIP)
- +
中文
@@ -765,11 +765,11 @@ using (marker.Auto())
# Framework Extension Tools -Для большей расширяемости фреймворка есть дополнительные инструменты. +There are additional tools for greater extensibility of the framework. ## Configs -Конструкторы классов `EcsWorld` и `EcsPipeline` могут принимать контейнеры конфигов реализующие интерфейс `IConfigContainer` или `IConfigContainerWriter`. С помощью этих контейнеров можно передавать данные и зависимости. Встроенная реализация контейнера - `ConfigContainer`, но можно так же использовать свою реализацию.
-Пример использования конфигов для мира: +Constructors of `EcsWorld` and `EcsPipeline` classes can accept config containers implementing `IConfigContainer` or `IConfigContainerWriter` interface. These containers can be used to pass data and dependencies. The built-in container implementation is `ConfigContainer`, but you can also use your own implementation.
+Example of using configs for EcsWorld: ``` c# var configs = new ConfigContainer() .Set(new EcsWorldConfig(entitiesCapacity: 2000, poolsCapacity: 2000) @@ -780,9 +780,9 @@ EcsDefaultWorld _world = new EcsDefaultWorld(configs); var _someDataA = _world.Configs.Get(); var _someDataB = _world.Configs.Get(); ``` -Пример использования конфигов для пайплайна: +Example of using configs for EcsPipeline: ``` c# -_pipeline = EcsPipeline.New()// аналогично _pipeline = EcsPipeline.New(new ConfigContainer()) +_pipeline = EcsPipeline.New()// similarly _pipeline = EcsPipeline.New(new ConfigContainer()) .Configs.Set(new SomeDataA(/* ... */)) .Configs.Set(new SomeDataB(/* ... */)) // ... @@ -857,7 +857,7 @@ public struct WorldComponent : IEcsWorldComponent ``` -> Компоненты и конфиги можно применять для создания расширений в связке с методами расширений. +> Components and configs can be used to create extensions in conjunction with extension methods.
@@ -897,4 +897,5 @@ The type or namespace name 'ReadOnlySpan<>' could not be found (are you missing








-


\ No newline at end of file +


+