306c2f85c3
Add base auto saving when change scene
16 lines
361 B
C#
16 lines
361 B
C#
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;
|
|
}
|
|
}
|