βš’οΈDebug Game UI

Provides Debug Game UI with cheat buttons to easy test game

Package

How to use

Replace UI_Debugger.prefab in "_Loader" scene. If you need disable Debug Game UI -> remove or disable UI_Debugger in _Loader.

Nearly visible transparent button in bottom right corner will toggle Debug Game UI window.

Button in the bottom right corner to activate window

When you click button, you will see this:

Built-in buttons on window active
  • UI button will hide game UI, but interactions still will be

  • Cash button adds currency to player (default value 5000)

  • Time scale changes by arrows

Built-in features

  • Time speed control (TimeSpeedChangeCheat.cs)

  • Add currency (CashCheatButton.cs)

  • Toggle game UI on/off (Inside UiDebugger.cs)

How add new features

  1. Open UI_Debugger.prefab. All features are located in DebugContent object:

DebugContent where all features
  1. Add new button or what you need under DebugContent object in prefab and attach your custom script on added object. You can see CashCheatButton.cs for reference.

Last updated