46 lines
738 B
C#
46 lines
738 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using PixelCrushers;
|
|
using RootMotion;
|
|
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
|
|
namespace Beyond
|
|
{
|
|
|
|
public class BeyondSaveMgr : Singleton<BeyondSaveMgr>
|
|
{
|
|
|
|
|
|
[Button]
|
|
public void Save()
|
|
{
|
|
SaveSystem.SaveToSlot(0);
|
|
}
|
|
|
|
[Button]
|
|
public void Load()
|
|
{
|
|
SaveSystem.LoadFromSlot(0);
|
|
}
|
|
|
|
private void OnDestroy()
|
|
{
|
|
Clear(gameObject);
|
|
}
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
} |