Click or drag to resize
CheatConsole Class
Allows executing cheats (e.g. game events) manually.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Slash.Unity.Common.DiagnosticsCheatConsole

Namespace: Slash.Unity.Common.Diagnostics
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public class CheatConsole : MonoBehaviour

The CheatConsole type exposes the following members.

Constructors
  NameDescription
Public methodCheatConsole
Initializes a new instance of the CheatConsole class
Top
Methods
  NameDescription
Protected methodAwake
Public methodDisableConsole
Hides the cheat console.
Public methodEnableConsole
Shows the cheat console.
Top
Fields
  NameDescription
Public fieldButtonRect
Rectangle showing the button to show or hide the cheat console.
Public fieldGameSpecific
Reference to a game specific cheat behaviour which implements a "DrawCheats" method to render the controls to execute cheats.
Public fieldQuickCheats
Cheats that should be provided as buttons for quick access.
Public fieldUIHeight
Design height of the game.
Public fieldUIWidth
Design width of the game.
Public fieldUseButton
Indicates if a button should be shown to enable/disable cheat console.
Public fieldWindowRect
Rectangle of the cheat console window.
Top
See Also