yasirkula / UnityIngameDebugConsole

A uGUI based console to see debug messages and execute commands during gameplay in Unity
MIT License
2.05k stars 217 forks source link

[Feature request] Add command history navigation buttons for mobile devices #66

Open abcjjy opened 2 years ago

abcjjy commented 2 years ago

Command history is a nice feature. However, it is restricted to navigate with arrow keys, which is quite inconvenient on a mobile device. I've tried external keyboard connected to iPhone and it doesn't work either.

Adding two nagivation buttons will solve this issue. Moreover, a commad history list will be even better.

yasirkula commented 2 years ago

Do you have any recommendations on where to put these buttons or the dropdown?

abcjjy commented 2 years ago

Do you have any recommendations on where to put these buttons or the dropdown?

1

abcjjy commented 2 years ago

It will be nicer to persist command history across sessions. Saving it in PlayerPrefs will be fine.

yasirkula commented 2 years ago

I am not planning to save history to PlayerPrefs at the moment but thank you for the suggestion.

The thing with browsing command history like this on mobile devices is, after selecting the correct command history with those arrows, user will need to click the command input field and hit the Enter button. So the process is still not very user friendly.

abcjjy commented 2 years ago

The thing with browsing command history like this on mobile devices is, after selecting the correct command history with those arrows, user will need to click the command input field and hit the Enter button. So the process is still not very user friendly.

A dropdown list will be better.

yasirkula commented 2 years ago

Selecting a command from dropdown will automatically execute it, I presume?

abcjjy commented 2 years ago

Selecting a command from dropdown will automatically execute it, I presume?

Nice feature