Exemplo n.º 1
0
 private void Awake()
 {
     recipieManagerScript = FindObjectOfType <RecipieManagerPanel>();
     saveRecipeScript     = FindObjectOfType <DishButtonManager>();
     //int count = GetComponentInParent<CreateSavedRecipeButtons>().listRecipes.Count -1;
     //recipeToLoad = GetComponentInParent<CreateSavedRecipeButtons>().listRecipes[count];
 }
Exemplo n.º 2
0
 public void Awake()
 {
     gameController   = GameController.Instance();
     saveRecipeScript = FindObjectOfType <DishButtonManager>();
 }