Component to display the console (debug logs) in-game using Unity's GUI class
More...
|
void | ToggleShow () |
| Inverts the "show" state of the console. If it was being displayed, it will no longer be. If it was not, it will be. More...
|
|
void | SetShow (bool newValue) |
| Displays or not the console in-game More...
|
|
void | Clear () |
| Clears the console and starts a new file for the saved logs. More...
|
|
|
override void | UpdateVisuals () |
| Updates the visuals of the console More...
|
|
void | OnEnable () |
| Registers the console to handle any log messages received and updates the visuals calling UpdateVisuals. More...
|
|
void | OnDisable () |
| Unregisters the console from the handling of the any log messages. More...
|
|
void | Awake () |
| Updates the console's visuals calling UpdateVisuals More...
|
|
|
void | OnGUI () |
| Updates the visuals of the console More...
|
|
void | Update () |
| Handles the toggling ON and OFF of the console More...
|
|
void | Log (string logString, string stackTrace, LogType type) |
| Handles the logging of any log messages More...
|
|
|
string | filename = "" |
| The filename that will store the logs of the console. More...
|
|
Component to display the console (debug logs) in-game using Unity's GUI class
Definition at line 6 of file ConsoleGUI.cs.
◆ Awake()
void UnityEngine.Console.Awake |
( |
| ) |
|
|
protectedinherited |
◆ Clear()
void UnityEngine.Console.Clear |
( |
| ) |
|
|
inherited |
◆ Log()
void UnityEngine.Console.Log |
( |
string |
logString, |
|
|
string |
stackTrace, |
|
|
LogType |
type |
|
) |
| |
|
privateinherited |
◆ OnDisable()
void UnityEngine.Console.OnDisable |
( |
| ) |
|
|
protectedinherited |
◆ OnEnable()
void UnityEngine.Console.OnEnable |
( |
| ) |
|
|
protectedinherited |
Registers the console to handle any log messages received and updates the visuals calling UpdateVisuals.
Definition at line 53 of file ConsoleInGame/Console.cs.
◆ OnGUI()
void UnityEngine.ConsoleGUI.OnGUI |
( |
| ) |
|
|
private |
Updates the visuals of the console
Definition at line 11 of file ConsoleGUI.cs.
◆ SetShow()
void UnityEngine.Console.SetShow |
( |
bool |
newValue | ) |
|
|
inherited |
Displays or not the console in-game
- Parameters
-
newValue | Weather the console should be displayed in-game or not. |
Definition at line 75 of file ConsoleInGame/Console.cs.
◆ ToggleShow()
void UnityEngine.Console.ToggleShow |
( |
| ) |
|
|
inherited |
Inverts the "show" state of the console. If it was being displayed, it will no longer be. If it was not, it will be.
Definition at line 66 of file ConsoleInGame/Console.cs.
◆ Update()
void UnityEngine.Console.Update |
( |
| ) |
|
|
privateinherited |
◆ UpdateVisuals()
override void UnityEngine.ConsoleGUI.UpdateVisuals |
( |
| ) |
|
|
protectedvirtual |
◆ enableKeyToggle
bool UnityEngine.Console.enableKeyToggle = true |
|
protectedinherited |
◆ filename
string UnityEngine.Console.filename = "" |
|
privateinherited |
◆ fullLog
string UnityEngine.Console.fullLog = "" |
|
packageinherited |
◆ maxDisplayedChars
int UnityEngine.Console.maxDisplayedChars = 700 |
|
inherited |
◆ saveToFile
bool UnityEngine.Console.saveToFile = false |
|
inherited |
◆ show
bool UnityEngine.Console.show = true |
|
protectedinherited |
◆ toggleKey
KeyCode UnityEngine.Console.toggleKey = KeyCode.Space |
|
inherited |
The documentation for this class was generated from the following file: