17 lines
371 B
C#
17 lines
371 B
C#
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);
|
|
}
|
|
}
|