Table of Contents

Class TinyColorExtensions

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Provides extension methods for the TinyColor struct.

public static class TinyColorExtensions
Inheritance
TinyColorExtensions
Inherited Members

Methods

ToHex(TinyColor)

Converts a TinyColor to a hexadecimal string representation (RRGGBBAA).

public static string ToHex(this TinyColor color)

Parameters

color TinyColor

The TinyColor to convert.

Returns

string

A string representing the color in hexadecimal format (e.g., "FF0000FF" for red).

ToUnityColor(TinyColor)

Converts a TinyColor to a Unity UnityEngine.Color.

public static Color ToUnityColor(this TinyColor color)

Parameters

color TinyColor

The TinyColor to convert.

Returns

Color

A Unity Color representation of the TinyColor.