2022-02-25 04:30:02 +00:00
|
|
|
using UnityEditor;
|
|
|
|
using UnityEditor.UI;
|
|
|
|
using UnityEngine;
|
2022-03-14 14:21:05 +00:00
|
|
|
using HeavenStudio;
|
2022-02-25 04:30:02 +00:00
|
|
|
|
2022-03-14 14:21:05 +00:00
|
|
|
namespace HeavenStudio.Editor
|
2022-02-25 04:30:02 +00:00
|
|
|
{
|
|
|
|
[CustomEditor(typeof(TempoFinderButton))]
|
|
|
|
public class TempoFinderButtonEditor : ButtonEditor
|
|
|
|
{
|
|
|
|
public override void OnInspectorGUI()
|
|
|
|
{
|
|
|
|
TempoFinderButton targetButton = (TempoFinderButton)target;
|
|
|
|
|
|
|
|
targetButton.tempoFinder = (TempoFinder)EditorGUILayout.ObjectField("Tempo Finder", targetButton.tempoFinder, typeof(TempoFinder), true);
|
|
|
|
|
|
|
|
base.OnInspectorGUI();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|