Пример #1
0
    void SelectRecipe()
    {
        score = 0;
        RecipeData rec = recipeLoader.GetRecipeByName("Double Blarf");

        ingsRemaining = rec.ingredients;
        if (ingsCompleted != null)
        {
            ingsCompleted.Clear();
        }


        if (rec == null)
        {
            Debug.Log("RecipeData is null.");
            return;
        }



        Debug.Log("Recipe Selected: " + rec.toString());
    }