Class DeveloperConsoleBehaviour
Inheritance
System.Object
DeveloperConsoleBehaviour
Assembly: cs.temp.dll.dll
Syntax
public class DeveloperConsoleBehaviour : MonoBehaviour
Fields
commandPrefab
Declaration
protected ConsoleEntry commandPrefab
Field Value
commands
Declaration
protected List<ConsoleCommand> commands
Field Value
developerConsole
Declaration
protected DeveloperConsole developerConsole
Field Value
entriesParent
Declaration
protected Transform entriesParent
Field Value
Type |
Description |
Transform |
|
errorPrefab
Declaration
protected ConsoleEntry errorPrefab
Field Value
failedCommandPrefab
Declaration
protected ConsoleEntry failedCommandPrefab
Field Value
Declaration
protected TMP_InputField inputField
Field Value
Type |
Description |
TMP_InputField |
|
instance
Declaration
public static DeveloperConsoleBehaviour instance
Field Value
logPrefab
Declaration
protected ConsoleEntry logPrefab
Field Value
maxEntryCount
Declaration
protected int maxEntryCount
Field Value
Type |
Description |
System.Int32 |
|
uiCanvas
Declaration
protected GameObject uiCanvas
Field Value
Type |
Description |
GameObject |
|
warningPrefab
Declaration
protected ConsoleEntry warningPrefab
Field Value
Properties
DeveloperConsole
Declaration
protected DeveloperConsole DeveloperConsole { get; }
Property Value
Methods
Awake()
Declaration
protected virtual void Awake()
ClearConsoleEntries()
Declaration
public virtual void ClearConsoleEntries()
ClearExcessChildren()
Declaration
protected virtual IEnumerator ClearExcessChildren()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
HandleLog(String, String, LogType)
Declaration
protected virtual void HandleLog(string logString, string stackTrace, LogType type)
Parameters
Type |
Name |
Description |
System.String |
logString |
|
System.String |
stackTrace |
|
LogType |
type |
|
InstantiateNewEntry(ConsoleEntry, String)
Declaration
protected virtual void InstantiateNewEntry(ConsoleEntry prefab, string entryText)
Parameters
Type |
Name |
Description |
ConsoleEntry |
prefab |
|
System.String |
entryText |
|
MakeBold(String)
Declaration
protected virtual string MakeBold(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type |
Description |
System.String |
|
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
ProcessCommand(String)
Declaration
public virtual void ProcessCommand(string inputValue)
Parameters
Type |
Name |
Description |
System.String |
inputValue |
|
SetInputFieldText(String)
Declaration
public virtual void SetInputFieldText(string newText)
Parameters
Type |
Name |
Description |
System.String |
newText |
|
ShowCommandHelp()
Declaration
public virtual void ShowCommandHelp()
SortCommands()
Declaration
protected virtual void SortCommands()
Toggle(CallbackContext)
Declaration
public virtual void Toggle(CallbackContext context)
Parameters
Type |
Name |
Description |
CallbackContext |
context |
|