This commit is contained in:
haitem committed 2021-01-31 15:51:12 +01:00
commit 18a2f9944d
2 files changed
+138 -2

No files matched your search

+2 -2
View File
@@ -73,7 +73,7 @@ public class PlayerManager : MonoBehaviour
{
cannotMove = true;
playerAnimator.Play("Die");
//FindObjectOfType<AudioManager>().Play("lose");
FindObjectOfType<AudioManager>().Play("Lose");
}
if (interact)
{
@@ -86,7 +86,7 @@ public class PlayerManager : MonoBehaviour
)) {
if (Input.GetKeyUp(KeyCode.E))
{
//FindObjectOfType<AudioManager>().Play("Pickup");
FindObjectOfType<AudioManager>().Play("Pickup");
playerAnimator.SetTrigger("Eat");
interact = false;
}