yasirkula / UnityIngameDebugConsole

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

Saving command history between sessions #96

Closed Mikolaj505 closed 1 month ago

Mikolaj505 commented 1 month ago

Dear maintainer, this a PR from my fork of your repo. I've been using ingame debug console for a while in many different projects over years, but always found the commands gettings lost between sessions annoying. I believe it is a standard feature for a console, and will be a great addition to your excellent project, making it even better.

It's a simple save using PlayerPrefs and it's fully configurable from DebugLogManager inspector.

Since your work is boosting Unity games for free, I wanted to share what I believe is a nice improvement with the rest of the community.

Grateful for the plugin as it is, Mikolaj505

yasirkula commented 1 month ago

Thank you for the PR! I'm fine with command history getting lost after the app is closed (I believe most console implementations behave the same). To keep things simple, I won't be adding this feature but if I change my mind, it's good to have this PR in mind. Thanks again!