Exemplo n.º 1
0
    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);
    }
Exemplo n.º 2
0
    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);
    }
Exemplo n.º 3
0
    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);
    }