Files
let-him-cook/Assets/Scripts/Cooking.cs
magn9775 2286d0ba00 Cooking?
2024-03-06 09:07:21 +01:00

30 lines
429 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Cooking : MonoBehaviour
{
private string[] ingrediens = {"L","Egg"};
void GetIngredients()
{
}
void CheckDishes()
{
if (System.Array.IndexOf(ingrediens, "Egg")!=-1){
print("Egg");
}
}
void Update()
{
GetIngredients();
CheckDishes();
}
}