Gravity Engine 12.0
Unity Asset for Gravity
Loading...
Searching...
No Matches
GEConsole Class Reference

Command line console for interacting with GE and its objects during game exection. (Kudos to Jonathan Blow for sharing his developement of this feature in JAI on You Tube, from which the idea comes). More...

Inheritance diagram for GEConsole:

Classes

class  GEConsoleCommand
 Commands for the console. More...
 

Public Member Functions

void OnInputChange (string s)
 
void EndEdit (string s)
 
void AddToHistory (string info)
 

Static Public Member Functions

static void RegisterCommandIfConsole (GEConsoleCommand cmd)
 
static GEConsole Instance ()
 

Public Attributes

GameObject consolePanel
 
Text historyText
 
InputField inputField
 

Detailed Description

Command line console for interacting with GE and its objects during game exection. (Kudos to Jonathan Blow for sharing his developement of this feature in JAI on You Tube, from which the idea comes).

Console is opened, enlarged and closed via the back-quote key.

Commands can be typed and status information will be displayed in the scrollable window.

Console Commands: Classes register their own. Use '?' to see a list of those available in a given scene.

This component is typically used by adding the GEConsole prefab to a scene.


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