I wanted to share my Unity Dev Console package here. It's a source style developer console that you can write commands to do stuff in the game.
You can create static ConsoleCommand objects and implement whatever functionality you want to execute. That's it, their constructor…
GitHubGitHub - kureysalp/Unity-Dev-Console: A drop-down developer console UPM package for Unity: self-registering commands and fuzzy suggestions.A drop-down developer console UPM package for Unity: self-registering commands and fuzzy suggestions. - kureysalp/Unity-Dev-Console