Merge branch 'master' of https://git.steelants.cz/GJP/GlobalGameJam-2021
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user