Browse Source

rework save system

Kenkart 2 years ago
parent
commit
9a695d3308
3 changed files with 8 additions and 1 deletions
  1. 1 1
      Assets/Scripts/SaveSystem.cs
  2. BIN
      Assets/joints.sav
  3. 7 0
      Assets/joints.sav.meta

+ 1 - 1
Assets/Scripts/SaveSystem.cs

@@ -6,7 +6,7 @@ using UnityEngine;
 
 public static class SaveSystem
 {
-    private static string path = Application.persistentDataPath + "/joints.sav";
+    private static string path = Application.dataPath + "/joints.sav";
 
     public static void Save(List<Vector3[]> jointsSequence, List<float> recordingTimes)
     {

BIN
Assets/joints.sav


+ 7 - 0
Assets/joints.sav.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 206550af70190444f9cbb6ef6812f02a
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: