would it be possible with GUILayout? i’m talking a cheat console like the one in TES V: Skyrim. Possible? I know how to freeze time in the background, but i’m curious on if it’s possible to make a cheat console. maybe GUILayer? i have no idea please tell me if it is and please give some examples of code, too!
Start by making something the player can type into
once you get that working, just take the input and match it to one your ‘cheat codes’. If you have something besides a design in mind, post code/specific question.
Please Check
Sorry for resurrecting an old thread but it still shows up on the Google front page so people mind find this useful to know:
I would recommend our new Developer Console asset for this: >Developer Console | GUI Tools | Unity Asset Store
It also allows you to turn any public, non-public, static or non-static method into a console command which you can invoke at runtime by simply typing it’s name. This also works with parameters and allows you to specify a gameobject as the target.
It also allows you to view all debug messages in builds, including stacktraces and timestamps, and allows you to collapse duplicates much like Unity’s console. It also allows you to specify a custom file to save all debug messages to in an easy to read format.