15 lines
298 B
C#
15 lines
298 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Unity.VisualScripting;
|
|
using UnityEngine;
|
|
|
|
public class CookButton : MonoBehaviour
|
|
{
|
|
public GameObject Button;
|
|
|
|
void OnMouseUp() {
|
|
Debug.Log("L");
|
|
Button.GetComponentInParent<Cooking>().CreateDish();
|
|
}
|
|
}
|