C# Class AssetBundleFramework.Editor.AutoSetLabels

自动为资源文件添加标记的工具类,此工具类会为资源文件夹下的所有Asset设置包标记 资源文件应该存储到路径PathTools.GetAbResourcesPath()方法的返回值对应的文件夹中 在打包前应保证所有的Asset资源都被正确标记上,否则在后续流程中会出现错误
Show file Open project: setFalcon/ABManager

Private Methods

Method Description
GetAbName ( FileInfo fileInfo, string sceneName ) : string

获取Ab包名称的方法 包名规则: 场景名+用途分类+文件名称

GetAbVariant ( FileInfo fileInfo ) : string

设置Ab包的扩展名称

JudgeTypeByRecursive ( DirectoryInfo currDir, string sceneName ) : void

递归考察文件夹下所有的文件以及文件夹

SetAbLabel ( ) : void
SetFileAbLabel ( FileInfo fileInfo, string sceneName ) : void

使用AssetImporter进行文件Ab包标签设置