Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

UDBase.Controllers.LogSystem.UI

KonH edited this page Feb 23, 2018 · 2 revisions

ToggleContainer

Internal LogSystem.UI component to switch tag/type visibility

public class UDBase.Controllers.LogSystem.UI.ToggleContainer
    : MonoBehaviour

Fields

Type Name Summary
Text Text
Toggle Toggle

Methods

Type Name Summary
void Init(Boolean state, String itemName, Action<String, Boolean> onValueChangedCallback)

VisualLogHandler

Component to show ILog messages in visual overlay

public class UDBase.Controllers.LogSystem.UI.VisualLogHandler
    : MonoBehaviour

Fields

Type Name Summary
Button ClearButton
Button CloseButton
Button CloseSettingsButton
String CurrentState
GameObject EmptyContent
GameObject MainContent
Button MaximizeButton
Button MinimizeButton
Button OpenButton
GameObject OpenContent
List<ButtonPosHander> OpenPositions
Button OpenSettingsButton
GameObject SettingsContent
ToggleContainer TagSample
Text Text
GameObject TopControlsContent
ToggleContainer TypeSample

Methods

Type Name Summary
void AddMessage(LogType type, ILogContext context, String msg) Add given message to log handler to display in visual overlay
void Init(Settings settings) Init with dependencies