From 8b1b6a245713f830220dd79cf508f3928a9022bf Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sun, 28 Apr 2019 12:56:28 +0200 Subject: Added dragon hit sound effect --- nGJ2019/Assets/Scripts/DragonMovement.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'nGJ2019/Assets/Scripts') diff --git a/nGJ2019/Assets/Scripts/DragonMovement.cs b/nGJ2019/Assets/Scripts/DragonMovement.cs index 9b1971a..850ea2a 100644 --- a/nGJ2019/Assets/Scripts/DragonMovement.cs +++ b/nGJ2019/Assets/Scripts/DragonMovement.cs @@ -292,6 +292,7 @@ public class DragonMovement : MonoBehaviour { if(hurtCooldown <= 0) { + GetComponent().Play(); healthBar.health--; if(healthBar.health == 0) { -- cgit v1.2.3