Skip to content

UnityRgbaExtensions

Namespace: Shadop.Archmage.Sdk

public static class UnityRgbaExtensions

Inheritance Object → UnityRgbaExtensions

Converts an Rgba value to a UnityEngine.Color. Each channel is mapped from [0, 255] to [0, 1].

public static Color ToColor(Rgba rgba)

rgba Rgba

Color