Здоровье чутка изменено
This commit is contained in:
1 parent
653342d080
commit
4ecafef8ee
6 files changed
+27
-50
No files matched your search
@@ -88,7 +88,7 @@ namespace Code.Example.Platformer.Entity
|
||||
|
||||
foreach (var damaged in damagedOnes)
|
||||
{
|
||||
damaged.gameObject.GetComponent<Entity>().GetDamage(1);
|
||||
damaged.gameObject.GetComponent<EntityHealth>().GiveDamage(1);
|
||||
_audioService.PlayOneShot(AudioNames.UISounds, 2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user