using UnityEngine; public static class NodeWirePalette { public static readonly Color None = new Color(1f, 1f, 1f, 0.95f); public static readonly Color Bool = new Color(1f, 0.22f, 0.22f, 0.95f); public static readonly Color Number = new Color(0.25f, 0.55f, 1f, 0.95f); public static readonly Color Text = new Color(0.72f, 0.34f, 1f, 0.95f); public static readonly Color Player = new Color(1f, 0.92f, 0.15f, 0.95f); public static readonly Color Group = new Color(1f, 0.7137255f, 0f, 0.95f); public static readonly Color Run = new Color(1f, 0.38f, 0.28f, 0.95f); public static Color ForValueKind(BSValueKind kind) { return kind switch { BSValueKind.Bool => Bool, BSValueKind.Number => Number, BSValueKind.Text => Text, BSValueKind.Player => Player, BSValueKind.Group => Group, _ => None, }; } }