bad code fix
This commit is contained in:
@@ -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<Ingredient>().NutritionalValue);
|
||||
// }
|
||||
|
||||
// }
|
||||
public Vector3 FinishedDishPosition;
|
||||
public GameObject AllIngredients;
|
||||
public GameObject LevelManager;
|
||||
private List<GameObject> DishesCooked = new List<GameObject>(); // stop user from cooking same dish twice.
|
||||
|
||||
@@ -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 <GameObject> IngredientIn;
|
||||
public int NutritionalValue;
|
||||
bool isMoving = false;
|
||||
//public GameObject table;
|
||||
private Vector3 DefaultPosition;
|
||||
Vector3 DefaultPosition;
|
||||
void Start()
|
||||
{
|
||||
DefaultPosition = transform.position;
|
||||
|
||||
Reference in New Issue
Block a user