Skip to main content

The Cooking Hub

This is our most important piece of the entire system. The Cooking Hub is where the cooking happens. Shocking, I know

It includes the following game objects: oven, mixing bowl, stovetop, sink, recipes, foods, success, and fail.

Cooking Fields

Cooking fields are the places where you put your food to cook! Consider these to be the inside of an oven. 

Oven, Mixing Bowl, StoveTop and Sink are all Cooking Fields where the user can put foods to cook.

Setting Up Your Cooking Fields Colliders.

You are going to want to move around your Cooking Field Game Objects until they are the correct size and in the correct place for cooking.

Example:

ExampleCookingField

Recipes

Recipes are instructions on how to make a SucessResultFood.

Think of it like a math equation: Food + Food = SucessResultFood

The Recipes GameObject is where your recipe objects will be placed.

Foods

Foods are like numbers in our Equation. The Foods Gameobject is where your food objects will go. 

All of your success result gameobjects must be a child of Sucess.

All of your fail result gameobjects must be a child of Fail.

Where do I get a Cooking Hub??

Go to the top of your Unity window, and you should see something called "Dynamic Cooking." When you click on it, there should be four options to click on.

Database

Food Declare

Recipe Creator

Setup

For the time being, we'll select "Setup."

A little window with a button will appear after clicking "Setup"! This is the holy button that creates The Cooking Hub.