AssignPerCategoryList() 공개 메소드

public AssignPerCategoryList ( BuildReportTool perCategory ) : void
perCategory BuildReportTool
리턴 void
예제 #1
0
        public void RecategorizeAssetLists()
        {
            FileFilterGroup fileFiltersToUse = FileFilters;

            if (BuildReportTool.Options.ShouldUseConfiguredFileFilters())
            {
                fileFiltersToUse = BuildReportTool.FiltersUsed.GetProperFileFilterGroupToUse();
                //Debug.Log("going to use configured file filters instead... loaded: " + (fileFiltersToUse != null));
            }

            if (UsedAssets != null)
            {
                UsedAssets.AssignPerCategoryList(BuildReportTool.ReportGenerator.SegregateAssetSizesPerCategory(UsedAssets.All, fileFiltersToUse));

                UsedAssets.RefreshFilterLabels(fileFiltersToUse);

                UsedAssets.ResortDefault(BuildReportTool.Options.NumberOfTopLargestUsedAssetsToShow);
            }

            if (UnusedAssets != null)
            {
                UnusedAssets.AssignPerCategoryList(BuildReportTool.ReportGenerator.SegregateAssetSizesPerCategory(UnusedAssets.All, fileFiltersToUse));

                UnusedAssets.RefreshFilterLabels(fileFiltersToUse);

                UnusedAssets.ResortDefault(BuildReportTool.Options.NumberOfTopLargestUnusedAssetsToShow);
            }
        }
예제 #2
0
        public void RecategorizeAssetLists()
        {
            FileFilterGroup fileFiltersToUse = FileFilters;

            if (BuildReportTool.Options.ShouldUseConfiguredFileFilters())
            {
                fileFiltersToUse = BuildReportTool.FiltersUsed.GetProperFileFilterGroupToUse();
            }

            if (UsedAssets != null)
            {
                UsedAssets.AssignPerCategoryList(BuildReportTool.ReportManager.SegregateAssetSizesPerCategory(UsedAssets.All, fileFiltersToUse));
            }

            if (UnusedAssets != null)
            {
                UnusedAssets.AssignPerCategoryList(BuildReportTool.ReportManager.SegregateAssetSizesPerCategory(UnusedAssets.All, fileFiltersToUse));
            }
        }