diff --git a/Assets/SEE/Controls/KeyBindings.cs b/Assets/SEE/Controls/KeyBindings.cs index 76fe59f39f..3513c4cd34 100644 --- a/Assets/SEE/Controls/KeyBindings.cs +++ b/Assets/SEE/Controls/KeyBindings.cs @@ -61,13 +61,13 @@ private static KeyCode Register(KeyCode keyCode, Scope scope, string helpMessage return keyCode; } /// - /// Gives back the scope of a specific value in bindings + /// Returns the scope of given key-binding description . /// - /// the value, from which to extract the scope + /// the key-binding description from which to extract the scope /// the scope - static string GetScope(string value) + private static string GetScope(string value) { - // Extract the scope part from the string value + // Extract the scope part from the string value. int startIndex = value.IndexOf("[") + 1; int endIndex = value.IndexOf("]"); return value[startIndex..endIndex];