This commit is contained in:
magn9775
2024-03-06 09:07:21 +01:00
parent 4c2427db10
commit 2286d0ba00

View File

@@ -5,14 +5,25 @@ 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()
GetIngredients();
CheckDishes();
}
}