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