• Manual
  • Scripting API
Show / Hide Table of Contents
  • ScriptableFramework.DeveloperConsole
    • AppEventCommand
    • BoolEventCommand
    • BoundsEventCommand
    • ClearCommand
    • CommandArguments
    • ConsoleCommand
    • ConsoleCommandEntry
    • ConsoleEntry
    • DeveloperConsole
    • DeveloperConsoleBehaviour
    • Extensions
    • FloatEventCommand
    • GravityCommand
    • HelpCommand
    • IConsoleCommand
    • IntEventCommand
    • LoadSceneCommand
    • LogCommand
    • StateMachineCommand
    • StringEventCommand
    • TimeScaleCommand
    • Vector3EventCommand

Class DeveloperConsoleBehaviour

Inheritance
System.Object
DeveloperConsoleBehaviour
Namespace: ScriptableFramework.DeveloperConsole
Assembly: cs.temp.dll.dll
Syntax
public class DeveloperConsoleBehaviour : MonoBehaviour

Fields

commandPrefab

Declaration
protected ConsoleEntry commandPrefab
Field Value
Type Description
ConsoleEntry

commands

Declaration
protected List<ConsoleCommand> commands
Field Value
Type Description
System.Collections.Generic.List<ConsoleCommand>

developerConsole

Declaration
protected DeveloperConsole developerConsole
Field Value
Type Description
DeveloperConsole

entriesParent

Declaration
protected Transform entriesParent
Field Value
Type Description
Transform

errorPrefab

Declaration
protected ConsoleEntry errorPrefab
Field Value
Type Description
ConsoleEntry

failedCommandPrefab

Declaration
protected ConsoleEntry failedCommandPrefab
Field Value
Type Description
ConsoleEntry

inputField

Declaration
protected TMP_InputField inputField
Field Value
Type Description
TMP_InputField

instance

Declaration
public static DeveloperConsoleBehaviour instance
Field Value
Type Description
DeveloperConsoleBehaviour

logPrefab

Declaration
protected ConsoleEntry logPrefab
Field Value
Type Description
ConsoleEntry

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
Type Description
ConsoleEntry

Properties

DeveloperConsole

Declaration
protected DeveloperConsole DeveloperConsole { get; }
Property Value
Type Description
DeveloperConsole

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
Back to top Generated by DocFX