|
@@ -6,9 +6,7 @@ using UnityEngine;
|
|
|
|
|
|
public static class SaveSystem
|
|
public static class SaveSystem
|
|
{
|
|
{
|
|
- private static readonly string path = Application.dataPath + "/Recordings/TwoArmsPlusLeg_Backward.sav";
|
|
|
|
-
|
|
|
|
- public static void Save(List<Vector3[]> jointsSequence, List<float> recordingTimes)
|
|
|
|
|
|
+ public static void Save(string path, List<Vector3[]> jointsSequence, List<float> recordingTimes)
|
|
{
|
|
{
|
|
BinaryFormatter formatter = new BinaryFormatter();
|
|
BinaryFormatter formatter = new BinaryFormatter();
|
|
FileStream stream = new FileStream(path, FileMode.Create);
|
|
FileStream stream = new FileStream(path, FileMode.Create);
|