Console Commands

Hi, I’m developing a script prefab for Unity at the moment that can be dropped into any game and will add a developers console inside the game using the Unity GUI system. If you don’t know what I’m talking about, this is the kind of thing you see in almost any game when you hit the tilde key. It’s usually displayed at the top of the screen and lets you type in commands to test the game, for instance turn off collision or enter god mode. I’ve added a few obvios commands to my script such as moving objects etc. But I’m now wondering what you guys would want most as commands for this console? Go crazy :wink:

  • James :smile:

A command to enable profiling information. It’s always interesting and useful to see the renderer statistics or the breakdown of what uses the most CPU per frame.

No texture mode, wireframe mode…

Wireframe mode in game isn’t possible right now.

Thanks alot, good ideas and I’ll definitely add them if possible.

  • James :slight_smile:

It is if you have a shader for that :slight_smile:

1 Like

Did anything end up happening with this? I would love to check this out and/or contribute to it if it exists.

I made a console system similar to this, just with less commands. However, it comes with the ability to add your own commands. Which allows you to create these various modes and so forth by yourself.

I’ve also created a simple command window for those interested - just a single script file to add to your game - http://u3d.as/b2L.

It’s new, so if you’d like additional commands, let me know!