Exemple #1
0
    // Start is called before the first frame update
    void Start()
    {
        GenerateRecipe();

        foreach (RecipeComponent c in theRecipe.components)
        {
            Debug.Log("Ingredient: " + c.ingredient + " Equation: " + c.equation);
        }

        recipeDisplay.SetRecipe(theRecipe);
        recipeDisplay.DisplayRecipe();
        recipeDisplay.HighlightCurrentComponent(theRecipe.currentIngrIndex);

        cauldron.SetRecipe(theRecipe);
        //cauldron.SetManager(this);
    }