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