Ejemplo n.º 1
0
    void OrganizeStore()
    {
        List <StoreItem> AllItems = storeLoader.GetStoreItemList();

        if (AllItems.Count == 0)
        {
            Debug.Log("No items to sort at this point");
            return;
        }
        List <StoreItem> storeList = AllItems.GetRange(0, AllItems.Count);

        //foreach (FilterItem filter in activeFilters) storeList = filter.FilterStoreList(storeList);

        storeList = CloudGoods.SearchStoreItems(storeList, searchFilter);
        //if (currentSort != null) storeList = currentSort.Sort(storeList, currentSortDirection);
        //else storeList = SortStoreItemsBy.DefaultSort(storeList);

        storeLoader.LoadStoreWithPaging(storeList, 0);
    }