using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using RPGCreationKit.SaveSystem;
using UnityEngine.EventSystems;
using System.IO;
using UnityEngine.UI;
namespace RPGCreationKit.SaveSystem
{
///
/// Represent a savegame, in the form of a button - inside the Load Game panel in the Main Menu
///
public class SaveGameButtonUI : Savegame, ISelectHandler, IDeselectHandler
{
public int indexInList = -1;
[HideInInspector] public RckSaveSystemPanel panel;
public TextMeshProUGUI text;
Button btn;
public bool isLoading;
public void Start()
{
btn = GetComponent