コード例 #1
0
        void CheckChildren(bool checkChannel)
        {
            if (importer == null)
            {
                return;
            }

            var childrenImporters = importer.GetChildren();
            var checkerConfig     = new AssetBundleCheckerConfig();

            foreach (var childrenImport in childrenImporters)
            {
                if (config.Type == AssetBundleDispatcherFilterType.ChildrenFilesOnly && !childrenImport.IsFile)
                {
                    continue;
                }
                else if (config.Type == AssetBundleDispatcherFilterType.ChildrenFoldersOnly && childrenImport.IsFile)
                {
                    continue;
                }

                checkerConfig.CheckerFilters = config.CheckerFilters;
                checkerConfig.PackagePath    = childrenImport.packagePath;
                AssetBundleChecker.Run(checkerConfig, checkChannel);
            }
        }
コード例 #2
0
        void CheckRoot(bool checkChannel)
        {
            if (importer == null)
            {
                return;
            }

            var checkerConfig = new AssetBundleCheckerConfig(config.PackagePath, config.CheckerFilters);

            AssetBundleChecker.Run(checkerConfig, checkChannel);
        }
コード例 #3
0
        void CheckFairyGUISource(bool checkChannel)
        {
            var childrenImporters = importer.GetChildren();
            var checkerConfig     = new AssetBundleCheckerConfig();

            foreach (var childrenImport in childrenImporters)
            {
                if (config.Type == AssetBundleDispatcherFilterType.FairyGUI && !childrenImport.IsFile)
                {
                    continue;
                }

                checkerConfig.CheckerFilters = config.CheckerFilters;
                checkerConfig.PackagePath    = childrenImport.packagePath;
                AssetBundleChecker.Run(checkerConfig, checkChannel, true);
            }
        }
コード例 #4
0
        void CheckRoot()
        {
            var checkerConfig = new AssetBundleCheckerConfig(config.PackagePath, config.CheckerFilters);

            AssetBundleChecker.Run(checkerConfig);
        }
コード例 #5
0
        void CheckRoot(bool checkChannel)
        {
            var checkerConfig = new AssetBundleCheckerConfig(config.PackagePath, config.CheckerFilters);

            AssetBundleChecker.Run(checkerConfig, checkChannel);
        }