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

20 lines
607 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(ES3AutoSaveMgr))]
public class ES3AutoSaveMgrEditor : Editor
{
public override void OnInspectorGUI()
{
EditorGUILayout.HelpBox("This manages the saving and loading of GameObjects which have the Auto Save component attached to them.\n\nIf there are no Auto Save components in your scene, this component will do nothing.", MessageType.Info);
if(GUILayout.Button("Settings..."))
ES3Editor.ES3Window.InitAndShowAutoSave();
}
}
}