From b326398e00d1b8f6d197fc4f67ed274adf8dab4a Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Sun, 29 Mar 2026 17:38:23 +0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b42e4e5..798732c 100644 --- a/README.md +++ b/README.md @@ -107,10 +107,10 @@ Injection can also be done via a property or method: ```c# EcsDefaultWorld _world; -//Обязательно наличие set блока. +// A set accessor is required. [DI] EcsDefaultWorld World { set => _world = value; } -//Количество аргументов должно быть равно 1. +// Methods must have exactly one argument. [DI] void InjectWorld(EcsDefaultWorld world) => _world = world; ``` @@ -145,7 +145,7 @@ interface IDoSomethingProcess : IEcsProcess { void Do(); } -//Реализация раннера. Пример реализации можно так же посмотреть в встроенных процессах +// Runner implementation. See built-in processes for example sealed class DoSomethingProcessRunner : EcsRunner, IDoSomethingProcess { public void Do() @@ -155,7 +155,7 @@ sealed class DoSomethingProcessRunner : EcsRunner, IDoSomet } //... -// Если в пайплайн не был добавлен раннер, то GetRunnerAuto автоматически добавит экземпляр DoSomethingProcessRunner. +// If the runner wasn't added to the pipeline, GetRunnerAuto will automatically add an instance of DoSomethingProcessRunner. _pipeline.GetRunnerAuto().Do(); ```