From 93eb23bd56087d4e32a3291597cb74c6ccb74b40 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Tue, 14 May 2024 06:24:23 +0800 Subject: [PATCH] Update README-RU.md --- README-RU.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README-RU.md b/README-RU.md index 1d127ad..e1ba6be 100644 --- a/README-RU.md +++ b/README-RU.md @@ -222,7 +222,7 @@ class SomeComponentTemplate : IComponentTemplate public Type Type { get { return typeof(SomeComponent); } } public void Apply(int worldID, int entityID) { - EcsWorld.GetPoolInstance>(worldID).TryAddOrGet(entityID); + EcsWorld.GetPoolInstance>(worldID).TryAddOrGet(entityID) = component; } public object GetRaw() { return component; } public void SetRaw(object raw) { component = (SomeComponent)raw; } @@ -333,4 +333,4 @@ public class EcsRoot : MonoBehaviour } // ... } -``` \ No newline at end of file +```