Skip to content

Commit bf983c2

Browse files
committed
Added setter for DevConsole.IsKeyBindingsEnabled.
1 parent 6df5e9a commit bf983c2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Runtime/DevConsole.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ public static bool IsOpen
7575
/// <summary>
7676
/// Whether the dev console user-defined key bindings are enabled.
7777
/// </summary>
78-
public static bool IsKeyBindingsEnabled => _console.BindingsIsEnabled;
78+
public static bool IsKeyBindingsEnabled
79+
{
80+
get => _console.BindingsIsEnabled;
81+
set => _console.BindingsIsEnabled = value;
82+
}
7983

8084
/// <summary>
8185
/// The key used to toggle the dev console window, NULL if no key.

0 commit comments

Comments
 (0)