Scriptum/Assets/Scripts/SaveSystem.cs

16 lines
361 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public static class SaveSystem
{
public static string GetSavePath(string SubFolder = null)
{
if(SubFolder != null)
return Application.persistentDataPath + "/" + SubFolder;
return Application.persistentDataPath;
}
}