Exemplo n.º 1
0
 /// <summary>
 /// 文件操作
 /// </summary>
 /// <param name="dirRootName">文件保存路径的配置名称</param>
 /// <param name="fileOPList">文件操作集合</param>
 private void DoFileOperations(string rootPathName, IEnumerable <MaterialFileOeprationInfo> fileOPList)
 {
     foreach (MaterialFileOeprationInfo fileOp in fileOPList)
     {
         MaterialFileOperationSettings.GetConfig().Operations.ForEach(op =>
                                                                      op.DoModifyFileOperations(rootPathName, fileOp, null));
     }
 }
Exemplo n.º 2
0
 private void DoFileOperation(string rootPathName, MaterialFileOeprationInfo fileOp, MaterialContent content)
 {
     MaterialFileOperationSettings.GetConfig().Operations.ForEach(op =>
                                                                  op.DoModifyFileOperations(rootPathName, fileOp, content));
 }
Exemplo n.º 3
0
 private static void DecorateMaterials(MaterialList materials)
 {
     MaterialFileOperationSettings.GetConfig().Operations.ForEach(op => op.DecorateMaterialListAfterLoad(materials));
 }