1
This commit is contained in:
16
Packages/Runtime/Storage/PersistentStorage.cs
Normal file
16
Packages/Runtime/Storage/PersistentStorage.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using System.IO;
|
||||
namespace BITKit.IO
|
||||
{
|
||||
[System.Serializable]
|
||||
public class PersistentStorage : LocalStorageProvider
|
||||
{
|
||||
string dataPath => Utility.Path.persistentDataPath;
|
||||
protected override string GetAdress(string path)
|
||||
{
|
||||
return Path.Combine(dataPath, path);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user