IndieGame/client/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveEditor.cs

21 lines
482 B
C#
Raw Normal View History

2024-10-11 10:12:15 +08:00
using UnityEditor;
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace ES3Internal
{
[CustomEditor(typeof(ES3AutoSave))]
public class ES3AutoSaveEditor : Editor
{
public override void OnInspectorGUI()
{
if (target == null)
return;
if (GUILayout.Button("Manage Auto Save Settings"))
ES3Editor.ES3Window.InitAndShowAutoSave();
}
}
}