Files
beyond/Assets/Scripts/Save/SaveLoader.cs
2024-11-20 15:21:28 +01:00

27 lines
554 B
C#

using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Beyond
{
public class SaveLoader : MonoBehaviour
{
// Start is called before the first frame update
private void Start()
{
Beyond.BeyondSaveMgr.instance.Load();
}
[Button]
public void LoadSave()
{
Beyond.BeyondSaveMgr.instance.Load();
}
// Update is called once per frame
private void Update()
{
}
}
}