![]() |
Hydrogen Framework
1.3.1
|
An in-game debugging system to make every developer happy. More...
Inheritance diagram for hDebug:Classes | |
| class | WatchedItem |
Public Types | |
| enum | DisplayLocation { DisplayLocation.Top = 1, DisplayLocation.Bottom = 2 } |
| enum | DisplayMode { DisplayMode.Off = 0, DisplayMode.Stats = 1, DisplayMode.Console = 2 } |
Public Member Functions | |
| void | ToggleMode () |
| void | PageUp () |
| void | PageDown () |
| void | ScrollLeft () |
| void | ScrollRight () |
Static Public Member Functions | |
| static bool | Exists () |
| Does the Console already exist? More... | |
| static void | Error (object obj) |
| static void | Error (string text) |
| static void | Error (string text, params object[] args) |
| static void | Initialize () |
| static void | Log (object obj) |
| static void | Log (string text) |
| static void | Log (string text, params object[] args) |
| static void | Print (int x, int y, object obj) |
| static void | Print (int x, int y, string text) |
| static void | Print (int x, int y, string text, params object[] args) |
| static void | Print (int x, int y, Color color, object obj) |
| static void | Print (int x, int y, Color color, string text) |
| static void | Print (int x, int y, Color color, string text, params object[] args) |
| static void | Warn (object obj) |
| static void | Warn (string text) |
| static void | Warn (string text, params object[] args) |
| static void | Watch (string key, bool value) |
| static void | Watch (string key, string value) |
| static void | Watch (string key, int value) |
| static void | Watch (string key, float value) |
| static void | UnWatch (string key) |
Public Attributes | |
| const int | GlyphHeight = 8 |
| Height of a character from our fontImage. More... | |
| const int | GlyphWidth = 8 |
| Width of a character from our fontImage. More... | |
| bool | CheckForInput = true |
| Should we monitor for input? More... | |
| DisplayLocation | Location = DisplayLocation.Top |
| Where should the console be displayed on the screen. More... | |
| DisplayMode | Mode = DisplayMode.Off |
| What should be displayed? Stats or Console? More... | |
| KeyCode | ToggleKey = KeyCode.BackQuote |
| What key should be used to toggle between modes. More... | |
Static Public Attributes | |
| static Color | Shadow = Color.black |
| static bool | EchoToUnityLog = true |
Properties | |
| static hDebug | Instance [get] |
| Gets the console instance, creating one if none is found. More... | |
| int | ConsoleHeight [get, set] |
An in-game debugging system to make every developer happy.
This component does not follow our normal component/base model.
TODO: This is getting massively reworked.
| enum hDebug.DisplayMode |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| void hDebug.PageDown | ( | ) |
| void hDebug.PageUp | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| void hDebug.ScrollLeft | ( | ) |
| void hDebug.ScrollRight | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| bool hDebug.CheckForInput = true |
| const int hDebug.GlyphHeight = 8 |
| const int hDebug.GlyphWidth = 8 |
| DisplayLocation hDebug.Location = DisplayLocation.Top |
| DisplayMode hDebug.Mode = DisplayMode.Off |
| KeyCode hDebug.ToggleKey = KeyCode.BackQuote |