Table of Contents

Class TooltipColors

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Centralized color strings for tooltip rich text. Colors are runtime-configurable via Initialize(string, string, string, string) and default to sensible fallback values. All hex color values include # prefix and alpha, compatible with Unity's rich text system.

public static class TooltipColors
Inheritance
TooltipColors
Inherited Members

Fields

DEFAULT_LABEL

Default fallback: purple (#a66ef5FF).

public const string DEFAULT_LABEL = "#a66ef5FF"

Field Value

string

DEFAULT_STAT

Default fallback: white (#FFFFFFFF).

public const string DEFAULT_STAT = "#FFFFFFFF"

Field Value

string

DEFAULT_TITLE

Default fallback: orange (#f5ad6eFF).

public const string DEFAULT_TITLE = "#f5ad6eFF"

Field Value

string

DEFAULT_VALUE

Default fallback: green (#32a879FF).

public const string DEFAULT_VALUE = "#32a879FF"

Field Value

string

Properties

Label

Purple color for labels, descriptions, and secondary text.

public static string Label { get; }

Property Value

string

Stat

White color for stat values and general numeric display.

public static string Stat { get; }

Property Value

string

Title

Orange color for titles, names, and headers.

public static string Title { get; }

Property Value

string

Value

Green color for attribute values and positive numbers.

public static string Value { get; }

Property Value

string

Methods

Initialize(string, string, string, string)

Initializes tooltip colors from hex strings (e.g., "#RRGGBBAA"). Call after loading the UI theme. Null or empty values keep the current color.

public static void Initialize(string titleColor, string labelColor, string valueColor, string statColor)

Parameters

titleColor string
labelColor string
valueColor string
statColor string