Kühlschrank und Mate

This commit is contained in:
Simon Lübeß
2024-04-07 13:18:54 +02:00
parent 71f3d202b7
commit 8501bf3aa9
25 changed files with 1248 additions and 145 deletions

View File

@ -0,0 +1,16 @@
using System.Collections;
using System.Collections.Generic;
using Interaction;
using UnityEngine;
public class Fridge : MonoBehaviour
{
[SerializeField]
private PickupInteractible _matePrefab;
public void GetMateFromFridge()
{
PickupInteractible mate = Instantiate(_matePrefab);
GameManager.Instance.Player.PickupItem(mate);
}
}