Update README-RU.md

This commit is contained in:
Mikhail 2024-04-26 03:50:58 +08:00 committed by GitHub
parent 671063366b
commit 5c5724cdcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -453,8 +453,8 @@ public class SomeDamageSystem : IEcsRun, IEcsInject<EcsDefaultWorld>
{
foreach (var e in _world.Where(out Aspect a))
{
// Сюда попадают сущности с компонентами Health, Damage и без IsInvulnerable
a.healths.Get(e).points -= a.damages.Get(e).points;
// Сюда попадают сущности с компонентами Health, DamageSignal и без IsInvulnerable
a.healths.Get(e).points -= a.damageSignals.Get(e).points;
}
}
}