8 lines
223 B
C#
8 lines
223 B
C#
using UnityEngine;
|
|
|
|
namespace Cryville.EEW.Unity {
|
|
static class ColorUtils {
|
|
public static Color ToUnityColor(this System.Drawing.Color color) => new(color.R / 255f, color.G / 255f, color.B / 255f, color.A / 255f);
|
|
}
|
|
}
|