feat: add in-game debug console UI
This commit is contained in:
@@ -9,7 +9,8 @@ public enum InputAction
|
||||
MoveForward,
|
||||
MoveBack,
|
||||
Jump,
|
||||
Cancel
|
||||
Cancel,
|
||||
ToggleConsole
|
||||
}
|
||||
|
||||
public static class InputActionExtensions
|
||||
@@ -25,6 +26,7 @@ public static class InputActionExtensions
|
||||
InputAction.MoveBack => "move_back",
|
||||
InputAction.Jump => "jump",
|
||||
InputAction.Cancel => "ui_cancel",
|
||||
InputAction.ToggleConsole => "toggle_console",
|
||||
_ => throw new ArgumentOutOfRangeException(nameof(action), action, null)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user