Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        GenerateRecipe();
        cauldron.CauldronBubble();

        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);
    }