static FW.ResBuilderConfig CreateConfig() { var config = new FW.ResBuilderConfig(); //判断是否导出 config.CheckIsExport = (string path) => { return(!path.Contains("/不导出/")); }; //判断是否是公共资源 config.CheckIsPublic = (string path) => { return(path.Contains("/公共/")); }; config.AddABFolder(new FW.ResBuilderConfig.ABFolder() { folder = "模型", filter = null, renamer = null, }); config.AddABFolder(new FW.ResBuilderConfig.ABFolder() { folder = "场景", filter = null, renamer = null, }); return(config); }
public ResBuilder(ResBuilderConfig config) { this.config = config; }