2020-06-08 22:57:45 +01:00

27 lines
522 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Marshmallow.Utility
{
public class MColor32
{
public MColor32(byte r, byte g, byte b, byte a)
{
R = r;
G = g;
B = b;
A = a;
}
public byte R { get; }
public byte G { get; }
public byte B { get; }
public byte A { get; }
public Color32 ToColor32() => new Color32(R, G, B, A);
}
}