You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
514 B
24 lines
514 B
8 years ago
|
using UnityEngine;
|
||
|
using System.Collections;
|
||
|
|
||
|
namespace Fungus
|
||
|
{
|
||
|
public class SavePicker : MonoBehaviour
|
||
|
{
|
||
|
#region Public methods
|
||
|
|
||
|
public virtual void Select(int slot)
|
||
|
{
|
||
|
var saveManager = FungusManager.Instance.SaveManager;
|
||
|
saveManager.Load(slot);
|
||
|
}
|
||
|
|
||
|
public virtual void Delete(int slot)
|
||
|
{
|
||
|
var saveManager = FungusManager.Instance.SaveManager;
|
||
|
saveManager.Delete(slot);
|
||
|
}
|
||
|
|
||
|
#endregion
|
||
|
}
|
||
|
}
|