Skip to content

Commit 9b4d493

Browse files
committed
Update SaveLoadUtility.cs
1 parent 98c4735 commit 9b4d493

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

Runtime/SaveLoadUtility.cs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ public static class SaveLoadUtility
1212
public static string GetSavePath(string folderName = null, string baseFolderPath = null)
1313
{
1414
return GetRuntimeSavePath(folderName, baseFolderPath);
15-
/*#if UNITY_EDITOR
16-
return GetEditorSavePath(folderName, baseFolderPath);
17-
#else
18-
return GetRuntimeSavePath(folderName, baseFolderPath);
19-
#endif*/
2015
}
2116

2217
public static string GetRuntimeSavePath(string folderName = null, string baseFolderPath = null)
@@ -35,23 +30,6 @@ public static string GetRuntimeSavePath(string folderName = null, string baseFol
3530
savePath = savePath + folderName + "/";
3631
return savePath;
3732
}
38-
39-
public static string GetEditorSavePath(string folderName = null, string baseFolderPath = null)
40-
{
41-
if (string.IsNullOrEmpty(folderName))
42-
{
43-
folderName = DefaultFolderName;
44-
}
45-
46-
if (string.IsNullOrEmpty(baseFolderPath))
47-
{
48-
baseFolderPath = DefaultBaseFolderPath;
49-
}
50-
51-
var savePath = $"{Application.dataPath}/{baseFolderPath}/";
52-
savePath = savePath + folderName + "/";
53-
return savePath;
54-
}
5533

5634
/// <summary>
5735
///

0 commit comments

Comments
 (0)