KeepItUp/Assets/_Scripts/Managers/SaveManager.cs
2022-07-22 14:01:41 +03:00

18 lines
297 B
C#

using UnityEngine;
public class SaveManager : MonoBehaviour
{
[SerializeField] private string ApiUrl;
private void Awake()
{
SessionStore.ApiUrl = ApiUrl;
SessionStore.Load();
}
private void OnApplicationQuit()
{
SessionStore.Save();
}
}