From 10de7e040f9263af3df2d501650d8b144a496cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E6=B5=B7?= <1464576565@qq.com> Date: Tue, 21 Apr 2026 13:46:36 +0800 Subject: [PATCH] Update DebuggerComponentInspector.cs --- Editor/Debugger/Inspector/DebuggerComponentInspector.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Editor/Debugger/Inspector/DebuggerComponentInspector.cs b/Editor/Debugger/Inspector/DebuggerComponentInspector.cs index 4a92e75..f9243f6 100644 --- a/Editor/Debugger/Inspector/DebuggerComponentInspector.cs +++ b/Editor/Debugger/Inspector/DebuggerComponentInspector.cs @@ -1,5 +1,6 @@ using AlicizaX.Debugger.Runtime; using UnityEditor; +using UnityEngine; namespace AlicizaX.Debugger.Editor { @@ -21,7 +22,7 @@ namespace AlicizaX.Debugger.Editor { serializedObject.Update(); EditorGUILayout.PropertyField(_activeWindowProperty); - EditorGUILayout.PropertyField(_enableFloatingToggleSnapProperty); + EditorGUILayout.PropertyField(_enableFloatingToggleSnapProperty,new GUIContent("Enable Snap")); EditorGUILayout.Slider(_windowOpacityProperty, 0.2f, 1f); serializedObject.ApplyModifiedProperties(); }