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); } }
void CheckRoot(bool checkChannel) { if (importer == null) { return; } var checkerConfig = new AssetBundleCheckerConfig(config.PackagePath, config.CheckerFilters); AssetBundleChecker.Run(checkerConfig, checkChannel); }
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); } }
void CheckRoot() { var checkerConfig = new AssetBundleCheckerConfig(config.PackagePath, config.CheckerFilters); AssetBundleChecker.Run(checkerConfig); }
void CheckRoot(bool checkChannel) { var checkerConfig = new AssetBundleCheckerConfig(config.PackagePath, config.CheckerFilters); AssetBundleChecker.Run(checkerConfig, checkChannel); }