PixelCrushers.DialogueSystem.LuaConsole Class Reference

An in-game Lua console presented using Unity GUI. More...

Inheritance diagram for PixelCrushers.DialogueSystem.LuaConsole:
Collaboration diagram for PixelCrushers.DialogueSystem.LuaConsole:

Public Attributes

KeyCode firstKey = KeyCode.BackQuote
 Hold down this key and press Second Key to open console. More...
 
KeyCode secondKey = KeyCode.L
 Hold down First Key and press this key to open console. More...
 
bool visible = false
 Is the console visible or hidden? More...
 
Vector2 minSize = new Vector2(256f, 256f)
 The minimum size of the console window. More...
 
int maxHistory = 20
 The max number of previous commands to remember. More...
 
bool pauseGameWhileOpen = false
 If true, then while open set Time.timeScale to 0. More...
 

Detailed Description

An in-game Lua console presented using Unity GUI.

This console is activated by ~(tilde) + L and allows you to enter Lua commands and view the results. The up and down keys scroll through previous commands, and Escape closes the console.

Member Data Documentation

◆ firstKey

KeyCode PixelCrushers.DialogueSystem.LuaConsole.firstKey = KeyCode.BackQuote

Hold down this key and press Second Key to open console.

◆ maxHistory

int PixelCrushers.DialogueSystem.LuaConsole.maxHistory = 20

The max number of previous commands to remember.

◆ minSize

Vector2 PixelCrushers.DialogueSystem.LuaConsole.minSize = new Vector2(256f, 256f)

The minimum size of the console window.

◆ pauseGameWhileOpen

bool PixelCrushers.DialogueSystem.LuaConsole.pauseGameWhileOpen = false

If true, then while open set Time.timeScale to 0.

◆ secondKey

KeyCode PixelCrushers.DialogueSystem.LuaConsole.secondKey = KeyCode.L

Hold down First Key and press this key to open console.

◆ visible

bool PixelCrushers.DialogueSystem.LuaConsole.visible = false

Is the console visible or hidden?


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