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 +```