mirror of
https://github.com/DCFApixels/DragonECS-AutoInjections.git
synced 2025-09-17 20:34:34 +08:00
Update README-RU.md
This commit is contained in:
parent
41b86ccf72
commit
8f09c4c886
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user