示例#1
0
 public void InitBrand1(SeralizedClassServer.OfflineRecipeDetails collectionBrand, RecipesWithThisBrandController mCollectionController, int aIndex)
 {
     recipesWithThisBrandController = mCollectionController;
     brand1           = collectionBrand;
     brandName.text   = collectionBrand.RecipeName;
     brandIcon.sprite = AppManager.Instance.RecipeOfflineImages[aIndex];
 }
示例#2
0
 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);
 }