mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-13 21:25:09 +00:00
20 lines
564 B
C#
20 lines
564 B
C#
using UnityEditor;
|
|
using UnityEditor.UI;
|
|
using UnityEngine;
|
|
using RhythmHeavenMania;
|
|
|
|
namespace RhythmHeavenMania.Editor
|
|
{
|
|
[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();
|
|
}
|
|
}
|
|
}
|