public void ShowFavorites() { currentSection = BuildModeCatalogSection.FAVOURITES; biwSearchBarController.ReleaseFilters(); sceneCatalogView.SetCatalogTitle(FAVORITE_NAME); ShowCatalogContent(); List <Dictionary <string, List <CatalogItem> > > favorites = new List <Dictionary <string, List <CatalogItem> > >(); Dictionary <string, List <CatalogItem> > groupedCategoryItems = new Dictionary <string, List <CatalogItem> >(); groupedCategoryItems.Add(FAVORITE_NAME, favoritesController.GetFavorites()); favorites.Add(groupedCategoryItems); sceneCatalogView.catalogGroupList.SetContent(favorites); sceneCatalogView.ShowBackButton(false); }
public void ShowAssetsPacks() { currentSection = BuildModeCatalogSection.ASSET_PACKS; biwSearchBarController.ReleaseFilters(); if (sceneCatalogView.catalogAssetPackList != null) { sceneCatalogView.catalogAssetPackList.SetAssetPackStyle(); sceneCatalogView.catalogAssetPackList.gameObject.SetActive(true); } isShowingAssetPacks = true; sceneCatalogView.SetCatalogTitle(BIWSettings.CATALOG_ASSET_PACK_TITLE); RefreshCatalog(); if (sceneCatalogView.catalogGroupList != null) { sceneCatalogView.catalogGroupList.gameObject.SetActive(false); } sceneCatalogView.ShowBackButton(false); }
public void ShowCategories() { currentSection = BuildModeCatalogSection.CATEGORIES; biwSearchBarController.ReleaseFilters(); if (sceneCatalogView.catalogAssetPackList != null) { sceneCatalogView.catalogAssetPackList.SetCategoryStyle(); sceneCatalogView.catalogAssetPackList.SetContent(BIWCatalogManager.GetCatalogItemPacksFilteredByCategories()); sceneCatalogView.catalogAssetPackList.gameObject.SetActive(true); } isShowingAssetPacks = true; sceneCatalogView.SetCatalogTitle(BIWSettings.CATALOG_ASSET_PACK_TITLE); if (sceneCatalogView.catalogGroupList != null) { sceneCatalogView.catalogGroupList.gameObject.SetActive(false); } sceneCatalogView.ShowBackButton(false); }