修改
This commit is contained in:
parent
2752fe9e1c
commit
4b20602a19
@ -111,6 +111,12 @@ namespace AlicizaX.UI
|
|||||||
EditorGUILayout.BeginHorizontal();
|
EditorGUILayout.BeginHorizontal();
|
||||||
EditorGUILayout.LabelField("UX Controllers", EditorStyles.boldLabel);
|
EditorGUILayout.LabelField("UX Controllers", EditorStyles.boldLabel);
|
||||||
GUILayout.FlexibleSpace();
|
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)))
|
if (GUILayout.Button("Refresh", GUILayout.Width(64f)))
|
||||||
{
|
{
|
||||||
SceneView.RepaintAll();
|
SceneView.RepaintAll();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user