Table of Contents

Class DebugConsoleController

Namespace
CodeBase.DebugConsole
Assembly
4Experience.Codebase.DebugConsole.dll
public class DebugConsoleController : ExtendedMonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
DebugConsoleController
Extension Methods

Properties

ConsoleDisplay

private Canvas ConsoleDisplay { get; set; }

Property Value

Canvas

ConsoleSettings

private DebugConsoleSettings ConsoleSettings { get; set; }

Property Value

DebugConsoleSettings

ErrorsCollection

private LogCollection ErrorsCollection { get; set; }

Property Value

LogCollection

ListOfLogsScrollbar

private Scrollbar ListOfLogsScrollbar { get; set; }

Property Value

Scrollbar

LogCallbackDetailsCollection

private Queue<DebugConsoleController.LogCallbackDetails> LogCallbackDetailsCollection { get; set; }

Property Value

Queue<DebugConsoleController.LogCallbackDetails>

MessagesCollection

private LogCollection MessagesCollection { get; set; }

Property Value

LogCollection

ParentOfLogs

private Transform ParentOfLogs { get; set; }

Property Value

Transform

TraceContent

private RectTransform TraceContent { get; set; }

Property Value

RectTransform

TraceText

private TextMeshProUGUI TraceText { get; set; }

Property Value

TextMeshProUGUI

WarningsCollection

private LogCollection WarningsCollection { get; set; }

Property Value

LogCollection

Methods

AttachToEvents()

private void AttachToEvents()

Awake()

protected virtual void Awake()

CanEnableVRInput()

private bool CanEnableVRInput()

Returns

bool

CanExecuteKeyboardInput()

private bool CanExecuteKeyboardInput()

Returns

bool

CanExecuteTouchscreenInput()

private bool CanExecuteTouchscreenInput()

Returns

bool

CaptureNewLogDetails(string, string, LogType)

private void CaptureNewLogDetails(string logString, string stackTrace, LogType type)

Parameters

logString string
stackTrace string
type LogType

Clear()

public void Clear()

CreateNewLog(LogCallbackDetails)

private void CreateNewLog(DebugConsoleController.LogCallbackDetails logCallbackDetails)

Parameters

logCallbackDetails DebugConsoleController.LogCallbackDetails

CreateNewLogs()

private void CreateNewLogs()

DetachFromEvents()

private void DetachFromEvents()

ExecuteVRInput(CallbackContext)

private void ExecuteVRInput(InputAction.CallbackContext obj)

Parameters

obj InputAction.CallbackContext

HandleInput()

private void HandleInput()

HideErrors()

public void HideErrors()

HideMessages()

public void HideMessages()

HideWarnings()

public void HideWarnings()

OnDisable()

protected virtual void OnDisable()

OnEnable()

protected virtual void OnEnable()

Pause()

public void Pause()

RefreshTraceLogLayout()

private void RefreshTraceLogLayout()

ScrollDown()

private void ScrollDown()

SetDisplayTraceText(string)

public void SetDisplayTraceText(string stackTrace)

Parameters

stackTrace string

SetLogCollectionVisability(LogCollection, bool)

private void SetLogCollectionVisability(LogCollection logCollection, bool isLogCollectionVisible)

Parameters

logCollection LogCollection
isLogCollectionVisible bool

SetupVRInput()

private void SetupVRInput()

ShowErrors()

public void ShowErrors()

ShowMessages()

public void ShowMessages()

ShowWarnings()

public void ShowWarnings()

ToggleConsoleDisplay()

private void ToggleConsoleDisplay()

TryExecuteInputFromKeyboard()

private bool TryExecuteInputFromKeyboard()

Returns

bool

TryToExecuteInputFromTouchscreen()

private bool TryToExecuteInputFromTouchscreen()

Returns

bool

TurnDebugConsoleOff()

public void TurnDebugConsoleOff()

Unpause()

public void Unpause()

Update()

protected virtual void Update()