diff --git a/Assets/Scripts/Cooking.cs b/Assets/Scripts/Cooking.cs index ff4b687..4eda451 100644 --- a/Assets/Scripts/Cooking.cs +++ b/Assets/Scripts/Cooking.cs @@ -8,16 +8,6 @@ using UnityEngine.UI; public class Cooking : MonoBehaviour { - // void CheckDishes() - // { - // foreach (GameObject ingredient in currentCollisions) { - - // Debug.Log(ingredient.name); - // Debug.Log(ingredient.GetComponent().NutritionalValue); - // } - - // } - public Vector3 FinishedDishPosition; public GameObject AllIngredients; public GameObject LevelManager; private List DishesCooked = new List(); // stop user from cooking same dish twice. diff --git a/Assets/Scripts/Ingredient.cs b/Assets/Scripts/Ingredient.cs index a56af99..dcf4530 100644 --- a/Assets/Scripts/Ingredient.cs +++ b/Assets/Scripts/Ingredient.cs @@ -7,12 +7,11 @@ public class Ingredient : MonoBehaviour // Start is called before the first frame update // L Vector3 mousePosition; - new public Transform transform; public List IngredientIn; public int NutritionalValue; bool isMoving = false; //public GameObject table; - private Vector3 DefaultPosition; + Vector3 DefaultPosition; void Start() { DefaultPosition = transform.position;