change sound levels

This commit is contained in:
chyknkat
2020-02-02 14:25:49 -05:00
parent e65ae28903
commit c6c394343f
11 changed files with 6 additions and 5 deletions

View File

@@ -80,6 +80,7 @@ public class Player : MonoBehaviour
{
if (coll.gameObject.tag == "Pizza")
{
SoundManagerScript.PlaySound("eat");
Destroy(coll.gameObject);
currentHealth += currentHealth < startHealth ? 1 : 0;
healthBar.size = new Vector2(1.5f * currentHealth, this.healthBar.size.y);