private void OnReceiveDamage(int dmg) { if (onGuard) { onGuard = false; GuardEffect.SetActive(false); GuardSFX.Play(); dmg = 0; } DamageUi.ShowDamageText(dmg); }
public void ShowDamage(int dmg) { dmgVisualizer.ShowDamageText(dmg); }
private void OnReceiveDamage(int dmg) { if (onGuard) { onGuard = false; GuardEffect.SetActive(false); GuardSFX.Play(); dmg = 0; } DamageUi.ShowDamageText(dmg); }
public void ShowDamage(int dmg) { dmgVisualizer.ShowDamageText(dmg); }