Project Arrhythmia
A video game developed by Vitamin Games.
Loading...
Searching...
No Matches
DebugController Class Reference
+ Inheritance diagram for DebugController:

Public Member Functions

void OnToggleDebug ()
 
void OnReturn ()
 

Public Attributes

bool showFPS = false
 
GUISkin GUISkin
 
List< object > CommandList = new List<object>()
 
List< string > PrevCommands
 
List< string > LogList
 
int currentPrev = 0
 

Static Public Attributes

static DebugController inst
 

Properties

bool IsOpen [get]
 

Private Member Functions

void Awake ()
 
void Update ()
 
void OnGUI ()
 
void HandleInput (string _input)
 
void AddLog (string _log)
 
void AddCommand (string _log, bool _setPrev=true)
 

Private Attributes

bool showConsole
 
bool showHelp = true
 
bool showLog = true
 
string input
 
string LastKeycode
 
bool validKeyPress = true
 
int frameCount = 0
 
float dt = 0.0f
 
int fps = 0
 
float updateRate = 4.0f
 
Vector2 helpScroll
 
Vector2 logScroll
 

Static Private Attributes

const float FPSWidth = 70f
 

The documentation for this class was generated from the following file: