public void InitBrand1(SeralizedClassServer.OfflineRecipeDetails collectionBrand, RecipesWithThisBrandController mCollectionController, int aIndex) { recipesWithThisBrandController = mCollectionController; brand1 = collectionBrand; brandName.text = collectionBrand.RecipeName; brandIcon.sprite = AppManager.Instance.RecipeOfflineImages[aIndex]; }
public void InitBrand2(SeralizedClassServer.CollectionsRecipesList collectionBrand, RecipesWithThisBrandController mCollectionController) { isForCollection = true; recipesWithThisBrandController = mCollectionController; brand2 = collectionBrand; brandName.text = collectionBrand.recipes_name; StartCoroutine("LoadImage", "http://www.jongwings.com/chivita/" + collectionBrand.recipes_image); }