This commit is contained in:
DCFApixels 2025-10-12 21:12:01 +08:00
parent 04453e4d78
commit 7dc80baf05

View File

@ -58,7 +58,7 @@ namespace DCFApixels.DebugXCore.Internal
DebugX.GlobalGreaterPassAlpha = EditorGUILayout.FloatField("GreaterPassAlpha", DebugX.GlobalGreaterPassAlpha); DebugX.GlobalGreaterPassAlpha = EditorGUILayout.FloatField("GreaterPassAlpha", DebugX.GlobalGreaterPassAlpha);
EditorGUI.BeginChangeCheck(); EditorGUI.BeginChangeCheck();
tmpValue = EditorGUILayout.Slider(DebugX.GlobalGreaterPassAlpha, 0, 2); tmpValue = EditorGUILayout.Slider(DebugX.GlobalGreaterPassAlpha, 0, 1);
if (EditorGUI.EndChangeCheck()) if (EditorGUI.EndChangeCheck())
{ {
DebugX.GlobalGreaterPassAlpha = tmpValue; DebugX.GlobalGreaterPassAlpha = tmpValue;