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