Update 'project/Terkoiz.Freecam/FreecamPlugin.cs'
This commit is contained in:
parent
28fd27d21d
commit
6b32422287
@ -20,6 +20,7 @@ namespace Terkoiz.Freecam
|
|||||||
// Keyboard shortcut config entries
|
// Keyboard shortcut config entries
|
||||||
private const string KeybindSectionName = "Keybinds";
|
private const string KeybindSectionName = "Keybinds";
|
||||||
internal static ConfigEntry<KeyboardShortcut> ToggleFreecamMode;
|
internal static ConfigEntry<KeyboardShortcut> ToggleFreecamMode;
|
||||||
|
internal static ConfigEntry<KeyboardShortcut> ToggleFreecamControls;
|
||||||
internal static ConfigEntry<KeyboardShortcut> TeleportToCamera;
|
internal static ConfigEntry<KeyboardShortcut> TeleportToCamera;
|
||||||
internal static ConfigEntry<KeyboardShortcut> ToggleUi;
|
internal static ConfigEntry<KeyboardShortcut> ToggleUi;
|
||||||
|
|
||||||
@ -67,6 +68,12 @@ namespace Terkoiz.Freecam
|
|||||||
new KeyboardShortcut(KeyCode.KeypadPlus),
|
new KeyboardShortcut(KeyCode.KeypadPlus),
|
||||||
"The keyboard shortcut that toggles Freecam");
|
"The keyboard shortcut that toggles Freecam");
|
||||||
|
|
||||||
|
ToggleFreecamControls = Config.Bind(
|
||||||
|
KeybindSectionName,
|
||||||
|
"ToggleFreecamControls",
|
||||||
|
new KeyboardShortcut(KeyCode.KeypadPeriod),
|
||||||
|
"The keyboard shortcut that toggles Freecam Controls");
|
||||||
|
|
||||||
TeleportToCamera = Config.Bind(
|
TeleportToCamera = Config.Bind(
|
||||||
KeybindSectionName,
|
KeybindSectionName,
|
||||||
"Teleport To Camera",
|
"Teleport To Camera",
|
||||||
|
Reference in New Issue
Block a user