diff options
author | chai <chaifix@163.com> | 2020-12-30 20:59:04 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-12-30 20:59:04 +0800 |
commit | e9ea621b93fbb58d9edfca8375918791637bbd52 (patch) | |
tree | 19ce3b1c1f2d51eda6878c9d0f2c9edc27f13650 /Client/Assembly-CSharp/Palette.cs |
+init
Diffstat (limited to 'Client/Assembly-CSharp/Palette.cs')
-rw-r--r-- | Client/Assembly-CSharp/Palette.cs | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/Client/Assembly-CSharp/Palette.cs b/Client/Assembly-CSharp/Palette.cs new file mode 100644 index 0000000..044fa1a --- /dev/null +++ b/Client/Assembly-CSharp/Palette.cs @@ -0,0 +1,67 @@ +using System; +using UnityEngine; + +public static class Palette +{ + public static readonly Color DisabledGrey = new Color(0.3f, 0.3f, 0.3f, 1f); + + public static readonly Color DisabledColor = new Color(1f, 1f, 1f, 0.3f); + + public static readonly Color EnabledColor = new Color(1f, 1f, 1f, 1f); + + public static readonly Color Black = new Color(0f, 0f, 0f, 1f); + + public static readonly Color ClearWhite = new Color(1f, 1f, 1f, 0f); + + public static readonly Color HalfWhite = new Color(1f, 1f, 1f, 0.5f); + + public static readonly Color White = new Color(1f, 1f, 1f, 1f); + + public static readonly Color LightBlue = new Color(0.5f, 0.5f, 1f); + + public static readonly Color Blue = new Color(0.2f, 0.2f, 1f); + + public static readonly Color Orange = new Color(1f, 0.6f, 0.005f); + + public static readonly Color Purple = new Color(0.6f, 0.1f, 0.6f); + + public static readonly Color Brown = new Color(0.72f, 0.43f, 0.11f); + + public static readonly Color CrewmateBlue = new Color32(140, byte.MaxValue, byte.MaxValue, byte.MaxValue); + + public static readonly Color ImpostorRed = new Color32(byte.MaxValue, 25, 25, byte.MaxValue); + + public static readonly Color32[] PlayerColors = new Color32[] + { + new Color32(198, 17, 17, byte.MaxValue), + new Color32(19, 46, 210, byte.MaxValue), + new Color32(17, 128, 45, byte.MaxValue), + new Color32(238, 84, 187, byte.MaxValue), + new Color32(240, 125, 13, byte.MaxValue), + new Color32(246, 246, 87, byte.MaxValue), + new Color32(63, 71, 78, byte.MaxValue), + new Color32(215, 225, 241, byte.MaxValue), + new Color32(107, 47, 188, byte.MaxValue), + new Color32(113, 73, 30, byte.MaxValue), + new Color32(56, byte.MaxValue, 221, byte.MaxValue), + new Color32(80, 240, 57, byte.MaxValue) + }; + + public static readonly Color32[] ShadowColors = new Color32[] + { + new Color32(122, 8, 56, byte.MaxValue), + new Color32(9, 21, 142, byte.MaxValue), + new Color32(10, 77, 46, byte.MaxValue), + new Color32(172, 43, 174, byte.MaxValue), + new Color32(180, 62, 21, byte.MaxValue), + new Color32(195, 136, 34, byte.MaxValue), + new Color32(30, 31, 38, byte.MaxValue), + new Color32(132, 149, 192, byte.MaxValue), + new Color32(59, 23, 124, byte.MaxValue), + new Color32(94, 38, 21, byte.MaxValue), + new Color32(36, 169, 191, byte.MaxValue), + new Color32(21, 168, 66, byte.MaxValue) + }; + + public static readonly Color32 VisorColor = new Color32(149, 202, 220, byte.MaxValue); +} |