Ejemplo n.º 1
0
 public static void CopyAssetBundlesTo(string path)
 {
     //var files = new[] {
     //	Versions.Dataname,
     //	Versions.Filename,
     //};
     if (!Directory.Exists(path))
     {
         Directory.CreateDirectory(path);
     }
     DirFileHelper.CopyFolder(Environment.CurrentDirectory + Path.DirectorySeparatorChar + outputPath, path);
     AssetDatabase.Refresh();
     //foreach (var item in files) {
     //	var src = outputPath + "/" + item;
     //	var dest = Application.streamingAssetsPath + "/" + item;
     //	if (File.Exists (src)) {
     //		File.Copy (src, dest, true);
     //	}
     //}
 }