16 lines
400 B
C#
16 lines
400 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Shapes;
|
|
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
[CustomEditor( typeof(ShapesConfig) )]
|
|
public class ShapesConfigInspector : Editor {
|
|
|
|
public override void OnInspectorGUI() {
|
|
if( GUILayout.Button( "Open Settings" ) )
|
|
MenuItems.OpenCsharpSettings();
|
|
using( new EditorGUI.DisabledScope( true ) )
|
|
DrawDefaultInspector();
|
|
}
|
|
} |