Skip to content

Labels.md

cfloutier edited this page Apr 15, 2024 · 1 revision

Labels (Labels.cs)

Console : a Label used as a console.

class : .console

The control adds a simples Set and Add functions that clear the content and add a new line.

image

StatusLine : label that can change it's color using an Enumerate

usefull control used as the K2D2 pilot current status.

class : .k2-status-line and .k2-status-line--normal / .k2-status-line--warning / .k2-status-line--error

a simple label with a variable used to setup a status color

image image

update the line with

void Set(string text, Level level)

Clone this wiki locally