blob: 5a2de0b0b77bda37a5b0e9400898ed6c9c8bb913 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
using UnityEngine;
namespace UNEB.Utility
{
public static class ColorExtensions
{
public static Color From255(byte r, byte g, byte b)
{
return new Color(r / 255f, g / 255f, b / 255f);
}
}
}
|