VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
static void PostBuild.OnPostprocessBuild ( BuildTarget  target,
string  pathToBuiltProject 
)
inlinestaticprivate

Definition at line 13 of file OnPostBuild.cs.

14  {
15  string[] files = System.IO.Directory.GetFiles(Application.dataPath + "/..", "*.avr", SearchOption.AllDirectories);
16 
17  foreach(string f in files) {
18  string dest_path = Path.GetDirectoryName(pathToBuiltProject) + "/" + Path.GetFileName(f);
19  FileUtil.DeleteFileOrDirectory(dest_path);
20  FileUtil.CopyFileOrDirectory(f, dest_path);
21  }
22  }