void CheckChildren() { string[] subFolders = AssetDatabase.GetSubFolders(assetsPath); var checkerConfig = new AddressableCheckerConfig(); foreach (string f in subFolders) { var packPath = AssetBundleUtility.AssetsPathToPackagePath(f); if (config.Type == AddressableDispatcherFilterType.ChildrenFilesOnly && !File.Exists(f)) { //continue; } else if (config.Type == AddressableDispatcherFilterType.ChildrenFoldersOnly && File.Exists(f)) { //continue; } checkerConfig.CheckerFilters = config.CheckerFilters; checkerConfig.PackagePath = packPath; AddressableChecker.Run(checkerConfig); } }
public static void Run(AddressableCheckerConfig config, string is_atlas_model, Dictionary <string, List <string> > groupDi) { var checker = new AddressableChecker(config); checker.CheckAssetBundleName(is_atlas_model, groupDi); //AssetDatabase.Refresh(); }
public static void Run(AddressableCheckerConfig config) { var checker = new AddressableChecker(config); checker.CheckAssetBundleName(); AssetDatabase.Refresh(); }
void CheckRoot() { var checkerConfig = new AddressableCheckerConfig(config.PackagePath, config.CheckerFilters); AddressableChecker.Run(checkerConfig); }
void CheckRoot(string is_atlas_model, Dictionary <string, List <string> > groupDi) { var checkerConfig = new AddressableCheckerConfig(config.PackagePath, config.CheckerFilters); AddressableChecker.Run(checkerConfig, is_atlas_model, groupDi); }