예제 #1
0
        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);
            }
        }
예제 #2
0
        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();
        }
예제 #3
0
        public static void Run(AddressableCheckerConfig config)
        {
            var checker = new AddressableChecker(config);

            checker.CheckAssetBundleName();

            AssetDatabase.Refresh();
        }
예제 #4
0
        void CheckRoot()
        {
            var checkerConfig = new AddressableCheckerConfig(config.PackagePath, config.CheckerFilters);

            AddressableChecker.Run(checkerConfig);
        }
예제 #5
0
        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);
        }