21 lines
482 B
C#
21 lines
482 B
C#
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();
|
|
}
|
|
}
|
|
} |