This commit is contained in:
b4lie 2026-03-22 13:28:15 +08:00
parent 2752fe9e1c
commit 4b20602a19

View File

@ -111,6 +111,12 @@ namespace AlicizaX.UI
EditorGUILayout.BeginHorizontal();
EditorGUILayout.LabelField("UX Controllers", EditorStyles.boldLabel);
GUILayout.FlexibleSpace();
if (GUILayout.Button("Hide", GUILayout.Width(64f)))
{
s_overlayEnabled = false;
EditorPrefs.SetBool(OverlayEnabledKey, s_overlayEnabled);
SceneView.RepaintAll();
}
if (GUILayout.Button("Refresh", GUILayout.Width(64f)))
{
SceneView.RepaintAll();