BS 0.1 基础构建完成 / 0.2 Visual 同为Unity UI控件部分
This commit is contained in:
21
Convention/[ES3]/Easy Save 3/Editor/ES3AutoSaveEditor.cs
Normal file
21
Convention/[ES3]/Easy Save 3/Editor/ES3AutoSaveEditor.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user