From 2c70174e6946c5eaac74bbe3d10e7ef5f93f5692 Mon Sep 17 00:00:00 2001 From: br0kenpixel Date: Tue, 5 May 2026 11:11:59 +0200 Subject: [PATCH] translate debug log messages --- Assets/Scripts/ZombieController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/ZombieController.cs b/Assets/Scripts/ZombieController.cs index ef402a1..9777470 100644 --- a/Assets/Scripts/ZombieController.cs +++ b/Assets/Scripts/ZombieController.cs @@ -90,7 +90,7 @@ public class ZombieController : MonoBehaviour public void TakeDamage(float amount) { currentHealth -= amount; - Debug.Log($"{gameObject.name} dostal {amount} damage. HP: {currentHealth}/{maxHealth}"); + Debug.Log($"{gameObject.name} took {amount} damage. HP: {currentHealth}/{maxHealth}"); if (currentHealth <= 0) Die(); @@ -98,7 +98,7 @@ public class ZombieController : MonoBehaviour private void Die() { - Debug.Log($"{gameObject.name} je mŕtvy!"); + Debug.Log($"{gameObject.name} is dead"); animator.SetTrigger(DieHash); Destroy(gameObject, 2f); }