Update README-RU.md

This commit is contained in:
Mikhail 2024-04-11 01:20:49 +08:00 committed by GitHub
parent 41b86ccf72
commit 8f09c4c886
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,7 +142,7 @@ class VelocitySystemDI : IEcsRun
{ {
foreach (var e in _world.Where(out Aspect a)) foreach (var e in _world.Where(out Aspect a))
{ {
s.poses.Write(e).position += a.velocities.Read(e).value * _time.DeltaTime; a.poses.Get(e).position += a.velocities.Read(e).value * _time.DeltaTime;
} }
} }
} }
@ -175,7 +175,7 @@ class VelocitySystem : IEcsRun, IEcsInject<EcsDefaultWorld>, IEcsInject<TimeServ
{ {
foreach (var e in _world.Where(out Aspect a)) foreach (var e in _world.Where(out Aspect a))
{ {
s.poses.Write(e).position += a.velocities.Read(e).value * _time.DeltaTime; a.poses.Get(e).position += a.velocities.Read(e).value * _time.DeltaTime;
} }
} }
} }