Example #1
0
    void Start()
    {
        itemDB = new ItemDatabase();
        itemDB.BuildAllDatabases();

        recipeDB = new RecipeDatabase();
        recipeDB.InitializeRecipeDatabase();

        cookingPot.Add(itemDB.SearchDatabaseByUID("carrot_raw"));
        cookingPot.Add(itemDB.SearchDatabaseByUID("potato_raw"));
        UseCookingPot();

        for (int i = 0; i < playerInventory.Count; i++)
        {
            Debug.Log(playerInventory[i].name);
        }
    }