diff options
author | marcinzelent <zelent.marcin@gmail.com> | 2019-04-28 12:56:28 +0200 |
---|---|---|
committer | marcinzelent <zelent.marcin@gmail.com> | 2019-04-28 12:56:28 +0200 |
commit | 8b1b6a245713f830220dd79cf508f3928a9022bf (patch) | |
tree | f763933fcc2f62c0db8117c060289452b899767e /nGJ2019/Assets/Scripts/DragonMovement.cs | |
parent | 9e3be7171503a43d4f99a03f19741355eb1c214d (diff) |
Added dragon hit sound effect
Diffstat (limited to 'nGJ2019/Assets/Scripts/DragonMovement.cs')
-rw-r--r-- | nGJ2019/Assets/Scripts/DragonMovement.cs | 1 |
1 files changed, 1 insertions, 0 deletions
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<AudioSource>().Play(); healthBar.health--; if(healthBar.health == 0) { |