mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
27 lines
522 B
C#
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);
|
|
}
|
|
}
|