public static Color32 ReadColor4B(byte[] data, Cursor cursor)
{
Color32 color = new Color32();
color.r = Utils.ReadByte(data, cursor);
color.g = Utils.ReadByte(data, cursor);
color.b = Utils.ReadByte(data, cursor);
color.a = Utils.ReadByte(data, cursor);
return color;
}
public static Color ReadColor4f(byte[] data, Cursor cursor)