Пример #1
0
 /// <summary>
 /// Saves the playback list in memory to disk
 /// </summary>
 /// <param name="fileNameIn">target filename to save to</param>
 public void SaveList(string fileNameIn)
 {
     SerializeScript.SaveToDisk(fileNameIn, playbackList);
     Debug.Log("Playback list saved succesfully");
 }
Пример #2
0
 /// <summary>
 /// Used to export the indicated recording from disk. Triggered from the Ok button
 ///     in the save dialog box. Exported files are compressed.
 /// </summary>
 /// <param name="fileNameIn"></param>
 public void ExportList(string fileNameIn)
 {
     SerializeScript.SaveToDisk(fileNameIn, CompressPlaybackList());
     Debug.Log("File exported succesfully");
 }