using UnityEngine; namespace BrewMonster.Scripts.Chat { public static class Chat_Helper { public static Color32 ToColor32(uint c) { byte a = (byte)((c >> 24) & 0xFF); byte r = (byte)((c >> 16) & 0xFF); byte g = (byte)((c >> 8) & 0xFF); byte b = (byte)(c & 0xFF); return new Color32(r, g, b, a); } } }