Esempio n. 1
0
        public static void Run(AssetBundleCheckerConfig config)
        {
            var checker = new AssetBundleChecker(config);

            checker.CheckAssetBundleName();
            checker.CheckChannelName();
            AssetDatabase.Refresh();
        }
Esempio n. 2
0
        public static void Run(AssetBundleCheckerConfig config, bool checkChannel, bool isFairyGui = false)
        {
            var checker = new AssetBundleChecker(config);

            if (isFairyGui)
            {
                checker.CheckFairyGUIAssetBundleName();
            }
            else
            {
                checker.CheckAssetBundleName();
            }
            if (checkChannel)
            {
                checker.CheckChannelName();
            }
            AssetDatabase.Refresh();
        }