Actual consumers of this symbol are listed first, then all current palette/hex assignments. Editor-only palettes do not control the runtime. Preserve state/goal contrast and rebuild after accepting a change.
| Source | Exact current code |
|---|
SerpentClashGame.cs:29 / class/static declarations | static readonly string[] BoostColor = { "#FF9F43", "#3FCB6A", "#5AA9FF", "#A98BFF" }; |
SerpentClashGame.cs:139 / IEnumerator Intro(string key, string title, string msg, string art, string icon = null) | TemplePopup(title, msg, HzUI.Hex("#1F8A70"), Art(art), icon, ("Got it!", HzUI.Hex("#F2A93B"), () => closed = true)); |
SerpentClashGame.cs:287 / void ProcessEvents() | FloatText(PlayerPos + Vector3.up * 2.2f, "Level " + e.Index + "!", HzUI.Hex("#F2C14E")); |
SerpentClashGame.cs:294 / void ProcessEvents() | if (e.A == 0) { HzAudio.Play(Sfx.LevelDown, 0.6f); FloatText(PlayerPos + Vector3.up * 2f, "Level " + e.Index, HzUI.Hex("#FF8A7A")); UpdateGoalUi(false); } |
SerpentClashGame.cs:301 / void ProcessEvents() | FloatText(at + Vector3.up * 1.5f, "-" + e.Index, HzUI.Hex("#FF6B57")); |
SerpentClashGame.cs:302 / void ProcessEvents() | if (e.A > 0) Feed($"{_sim.Serpents[e.A].Name} bit your tail!", HzUI.Hex("#FF9C8A")); |
SerpentClashGame.cs:309 / void ProcessEvents() | FloatText(at + Vector3.up * 1.6f, "Snap! -" + e.Index, HzUI.Hex("#7CF0B4")); |
SerpentClashGame.cs:323 / void ProcessEvents() | Feed($"{killer} swallowed you!", HzUI.Hex("#FF8A7A")); |
SerpentClashGame.cs:329 / void ProcessEvents() | FloatText(at + Vector3.up * 2.2f, "GULP!", HzUI.Hex("#F2C14E")); |
SerpentClashGame.cs:330 / void ProcessEvents() | Feed($"You swallowed {v.Name}!", HzUI.Hex("#F2C14E")); |
SerpentClashGame.cs:354 / void ProcessEvents() | if (e.B == 0) { HzAudio.Play(Sfx.VentCut, 0.85f); ShakeCamera(0.15f, 0.25f); FloatText(at + Vector3.up * 1.5f, "Ouch! -" + Mathf.Max(1, e.Index), HzUI.Hex("#FFB347")); } |
SerpentClashGame.cs:400 / void ProcessEvents() | if (crown && _sim.Time > 1) { HzAudio.Play(Sfx.Crown, 0.7f); Feed("You hold the sun crown!", HzUI.Hex("#F2C14E")); } |
SerpentClashGame.cs:431 / IEnumerator WinFlow() | var pop = TemplePopup("Victory!", msg, HzUI.Hex("#F2A93B"), Art("win_badge"), null, |
SerpentClashGame.cs:432 / IEnumerator WinFlow() | ("Next Level", HzUI.Hex("#1F8A70"), () => HzPlatform.Interstitial(GameId, () => LoadLevel(Level)))); |
SerpentClashGame.cs:451 / IEnumerator LoseFlow() | TemplePopup(title, msg + (reason == "time" ? "\nTake 30 more seconds?" : "\nCome back with most of your size?"), HzUI.Hex("#B5523B"), Art("lose_badge"), null, |
SerpentClashGame.cs:452 / IEnumerator LoseFlow() | (label, HzUI.Hex("#1F8A70"), () => HzPlatform.Rewarded(GameId, "rescue", ok => { if (ok) Rescue(); else LoadLevel(Level, true); })), |
SerpentClashGame.cs:453 / IEnumerator LoseFlow() | ("Retry", HzUI.Hex("#F2A93B"), () => LoadLevel(Level, true))); |
SerpentClashGame.cs:456 / IEnumerator LoseFlow() | TemplePopup(title, msg, HzUI.Hex("#B5523B"), Art("lose_badge"), null, ("Retry", HzUI.Hex("#F2A93B"), () => LoadLevel(Level, true))); |
SerpentClashGame.cs:504 / void OnBooster(int b) | ("+1 (ad)", HzUI.Hex("#1F8A70"), () => HzPlatform.Rewarded(GameId, "booster_" + BoostShort[b].ToLowerInvariant(), ok => { if (ok) { SetCharges(b, Charges(b) + 1); Toast("+1 " + BoostName[b]); HzAudio.Play(Sfx.Coin, 0.7f); } })), |
SerpentClashGame.cs:505 / void OnBooster(int b) | ("No thanks", HzUI.Hex("#B9A98C"), null)); |
SerpentClashGame.cs:514 / void OnBooster(int b) | case BFeast: _sim.Feast(); HzAudio.Play(Sfx.Feast, 0.85f); SpawnSparks(pos + Vector3.up, new Color(2f, 1.5f, 0.6f), 16, 1.2f); FloatText(pos + Vector3.up * 2f, "FEAST!", HzUI.Hex("#FF9F43")); break; |
SerpentClashGame.cs:515 / void OnBooster(int b) | case BVenom: _sim.Venom(); HzAudio.Play(Sfx.Venom, 0.85f); SpawnBurst(pos + Vector3.up * 0.05f, new Color(0.6f, 2f, 0.8f), 4f); FloatText(pos + Vector3.up * 2f, "VENOM!", HzUI.Hex("#3FCB6A")); break; |
SerpentClashGame.cs:516 / void OnBooster(int b) | case BPhantom: _sim.Phantom(); HzAudio.Play(Sfx.Phantom, 0.85f); SpawnBurst(pos + Vector3.up * 0.05f, new Color(0.7f, 1.3f, 2.2f), 4f); FloatText(pos + Vector3.up * 2f, "PHANTOM!", HzUI.Hex("#8CC8FF")); break; |
SerpentClashGame.cs:522 / void OnBooster(int b) | FloatText(pos + Vector3.up * 2f, n > 0 ? "STONE GAZE x" + n : "STONE GAZE", HzUI.Hex("#C9B8FF")); |
SerpentClashGame.UI.cs:13 / class/static declarations | static readonly Color Ink = HzUI.Hex("#2E2418"); |
SerpentClashGame.UI.cs:14 / class/static declarations | static readonly Color Jade = HzUI.Hex("#1F8A70"); |
SerpentClashGame.UI.cs:15 / class/static declarations | static readonly Color DeepTeal = HzUI.Hex("#0E3B43"); |
SerpentClashGame.UI.cs:16 / class/static declarations | static readonly Color Gold = HzUI.Hex("#F2A93B"); |
SerpentClashGame.UI.cs:17 / class/static declarations | static readonly Color Ivory = HzUI.Hex("#FFF6E3"); |
SerpentClashGame.UI.cs:18 / class/static declarations | static readonly Color TagSmall = HzUI.Hex("#8CF5B8"), TagBig = HzUI.Hex("#FF9C8A"), TagSame = HzUI.Hex("#FFF3D6"); |
SerpentClashGame.UI.cs:84 / void BuildHud() | _levelSub = HzUI.Label("Name", lp.transform, _def.name + (_def.breather ? " (easy)" : ""), 30, HzUI.Hex("#E2FFF4"), TextAnchor.MiddleCenter, false); |
SerpentClashGame.UI.cs:108 / void BuildHud() | var barBg = HzUI.Panel("BarBg", _goalPanel, HzUI.Hex("#EADFC6"), 20); |
SerpentClashGame.UI.cs:134 / void BuildHud() | var cap = HzUI.Label("Cap", _serpCard, "LEVEL", 24, HzUI.Hex("#CFEFE4"), TextAnchor.MiddleLeft, false); cap.fontStyle = FontStyle.Bold; |
SerpentClashGame.UI.cs:136 / void BuildHud() | _xpText = HzUI.Label("Xp", _serpCard, "", 24, HzUI.Hex("#F7CD52"), TextAnchor.MiddleRight, false); _xpText.fontStyle = FontStyle.Bold; |
SerpentClashGame.UI.cs:140 / void BuildHud() | _xpFill = HzUI.Panel("XpFill", xpBg.transform, HzUI.Hex("#F7CD52"), 12); _xpFill.raycastTarget = false; |
SerpentClashGame.UI.cs:196 / void BuildHud() | var sp = HzUI.Panel("Boost", bar, HzUI.Hex("#FF8A3D"), 100); |
SerpentClashGame.UI.cs:249 / void BuildHud() | _energyFill = HzUI.Panel("Fill", _energy, HzUI.Hex("#FFB347"), 8); _energyFill.raycastTarget = false; |
SerpentClashGame.UI.cs:305 / void BuildHud() | var bd = HzUI.Panel("Badge", v.Root, HzUI.Hex("#E2453C"), 30); bd.raycastTarget = false; |
SerpentClashGame.UI.cs:322 / void RefreshBoosters() | v.Inner.color = un ? HzUI.Hex(BoostColor[b]) : HzUI.Hex("#CDBFA4"); |
SerpentClashGame.UI.cs:328 / void RefreshBoosters() | v.Badge.GetComponent<Image>().color = c > 0 ? HzUI.Hex("#E2453C") : Jade; |
SerpentClashGame.UI.cs:330 / void RefreshBoosters() | v.Caption.color = un ? Ink : HzUI.Hex("#8C7A5E"); |
SerpentClashGame.UI.cs:331 / void RefreshBoosters() | v.Ring.color = _guide == b ? HzUI.Hex("#FFE066") : new Color(1, 1, 1, 0); |
SerpentClashGame.UI.cs:347 / void UpdateHud(float dt) | _timerBg.color = warn ? HzUI.Hex("#E2453C") : _def.Goal == Goal.Survive ? HzUI.Hex("#2FA36B") : Jade; |
SerpentClashGame.UI.cs:392 / void UpdateHud(float dt) | tag.color = mode == 3 ? HzUI.Hex("#FFE08A") : mode == 0 ? TagSmall : mode == 1 ? TagBig : mode == 4 ? HzUI.Hex("#D8D3C8") : TagSame; |
SerpentClashGame.UI.cs:407 / void UpdateHud(float dt) | _energyFill.color = p.Boosting ? HzUI.Hex("#FFB347") : HzUI.Hex("#9FD8C8"); |
SerpentClashGame.UI.cs:455 / void RefreshBoard() | _boardName[r].color = idx == 0 ? HzUI.Hex("#FFD166") : Color.white; |
SerpentClashGame.UI.cs:551 / void LevelBanner() | var n = HzUI.Label("N", bg.transform, _def.name + " - " + GoalShort(), 44, HzUI.Hex("#FFE2A8")); n.rectTransform.Place(new Vector2(0.5f, 0), new Vector2(820, 70), new Vector2(0, 22), new Vector2(0.5f, 0)); |
SerpentClashGame.UI.cs:616 / void CompleteGuide(int b) | Toast("Nice! " + BoostName[b] + " is yours", HzUI.Hex("#FFE2A8"), 1.3f, IsPortrait ? 0.62f : 0.5f); |
SerpentClashGame.UI.cs:659 / HzPopup TemplePopup(string title, string message, Color accent, Sprite art, string icon, params (string label, Color color, Action action)[] buttons) | var card = HzUI.Panel("Card", dim.transform, HzUI.Hex("#E6CFA0"), 56); |
SerpentClashGame.UI.cs:662 / HzPopup TemplePopup(string title, string message, Color accent, Sprite art, string icon, params (string label, Color color, Action action)[] buttons) | card.AddOutline(HzUI.Hex("#B98A3E"), 4); |
SerpentClashGame.UI.cs:710 / HzPopup TemplePopup(string title, string message, Color accent, Sprite art, string icon, params (string label, Color color, Action action)[] buttons) | p.Message = HzUI.Label("Msg", card.transform, message, 42, HzUI.Hex("#3D3020"), TextAnchor.MiddleCenter, false); |
SerpentClashGame.UI.cs:741 / void AddStars(HzPopup pop, int stars) | var st = HzIcons.Icon(row, HzIcons.Star, s == 1 ? 120 : 96, on ? HzUI.Hex("#FFC93C") : new Color(0.8f, 0.75f, 0.65f, 0.9f)); |
SerpentClashGame.UI.cs:742 / void AddStars(HzPopup pop, int stars) | st.AddOutline(HzUI.Hex("#A8681E"), on ? 4 : 0.01f); |
SerpentClashGame.UI.cs:761 / void ShowSettingsPopup() | (SoundLabel(), HzUI.Hex("#3E8ED0"), null), |
SerpentClashGame.UI.cs:762 / void ShowSettingsPopup() | (MusicLabel(), HzUI.Hex("#8E6BD8"), null), |
SerpentClashGame.UI.cs:763 / void ShowSettingsPopup() | ("Restart Level", HzUI.Hex("#F2A93B"), () => LoadLevel(Level, true)), |
SerpentClashGame.View.cs:17 / class/static declarations | static readonly string[] SkinA = { "#19B48A", "#8B5CF6", "#FF6B57", "#4FB6FF", "#FFC93C", "#FF7AD9", "#7BD66F", "#FF9F45", "#3FD3C6", "#C77DFF", "#F25F5C", "#5C7CFA" }; |
SerpentClashGame.View.cs:18 / class/static declarations | static readonly string[] SkinB = { "#F7CD52", "#FFD166", "#FFE6C7", "#1F4FA8", "#E46A00", "#7A1F5C", "#1E6B3A", "#FFF1C1", "#0B6E69", "#FFE3F3", "#2B2D42", "#BFE3FF" }; |
SerpentClashGame.View.cs:31 / class/static declarations | new Theme { StoneA = "#D9BC8A", StoneB = "#CDAE7B", StoneC = "#E0C79A", Grout = "#B8956A", Curb = "#C9A46A", Wall = "#C8A77A", Cap = "#E9B949", Rune = "#3FE0C5", Water = "#1FA7B5", Moss = "#9DBA6A", Reed = "#5E9E45", Bronze = "#A9743A", Fog = "#7FC9C6", AmbSky = "#BFE6F0", AmbEq = "#F2D9B0", AmbGround = "#7A5E44", Sun = "#FFE6C2", WaterGlow = 0.18f, SunIntensity = 1.0f, FlameGlow = 1f }, |
SerpentClashGame.View.cs:33 / class/static declarations | new Theme { StoneA = "#A9BFA2", StoneB = "#98B091", StoneC = "#B7CBB0", Grout = "#6F8A6E", Curb = "#7FA07A", Wall = "#7E9A80", Cap = "#E0B547", Rune = "#7CFFB2", Water = "#1D5FA8", Moss = "#6E9E52", Reed = "#3F8A3C", Bronze = "#9C6B33", Fog = "#5E8FA6", AmbSky = "#B9D9E8", AmbEq = "#CFE3C4", AmbGround = "#3E5240", Sun = "#FFF0D2", WaterGlow = 0.12f, SunIntensity = 1.1f, FlameGlow = 1f }, |
SerpentClashGame.View.cs:35 / class/static declarations | new Theme { StoneA = "#6B5B57", StoneB = "#5E504D", StoneC = "#786663", Grout = "#3E3232", Curb = "#8C5A3C", Wall = "#4F4341", Cap = "#E8A23A", Rune = "#FFB347", Water = "#B83A12", Moss = "#7A6A3A", Reed = "#8A7A3A", Bronze = "#B07A3C", Fog = "#5A2E24", AmbSky = "#E3A07A", AmbEq = "#A8705A", AmbGround = "#3A2420", Sun = "#FFD2A8", WaterGlow = 0.8f, SunIntensity = 1.0f, FlameGlow = 1.3f, Lava = true }, |
SerpentClashGame.View.cs:37 / class/static declarations | new Theme { StoneA = "#A7B3C9", StoneB = "#96A3BB", StoneC = "#B6C1D4", Grout = "#6A7592", Curb = "#8C9AB8", Wall = "#7F8BA6", Cap = "#D9C27A", Rune = "#8FD8FF", Water = "#2A4C86", Moss = "#6F8F86", Reed = "#4F7F72", Bronze = "#8F7A55", Fog = "#26365E", AmbSky = "#5F72A8", AmbEq = "#6C7AA6", AmbGround = "#262B42", Sun = "#C8D8FF", WaterGlow = 0.22f, SunIntensity = 0.75f, FlameGlow = 1.6f, Night = true }, |
SerpentClashGame.View.cs:39 / class/static declarations | new Theme { StoneA = "#E6C1C7", StoneB = "#DBB2B9", StoneC = "#EDCDD2", Grout = "#C29AA4", Curb = "#D7A1AE", Wall = "#D9B2B8", Cap = "#E9B949", Rune = "#FF8FC7", Water = "#3FB7A8", Moss = "#8FBF7A", Reed = "#5FA052", Bronze = "#B07A4A", Fog = "#9ED6CC", AmbSky = "#D8EEF0", AmbEq = "#F6DCE0", AmbGround = "#7A5A62", Sun = "#FFEBDD", WaterGlow = 0.15f, SunIntensity = 1.0f, FlameGlow = 1f }, |
SerpentClashGame.View.cs:97 / static Color FoodColor(int kind, int skin) => kind == 3 ? SkinColor(skin, 0) : HzUI.Hex(kind == 0 ? "#19C9B6" : kind == 1 ? "#E8336B" : "#FFB21F"); | static Color FoodColor(int kind, int skin) => kind == 3 ? SkinColor(skin, 0) : HzUI.Hex(kind == 0 ? "#19C9B6" : kind == 1 ? "#E8336B" : "#FFB21F"); |
SerpentClashGame.View.cs:98 / static Color PickColor(int kind) => kind == (int)Pick.Speed ? HzUI.Hex("#4FD2FF") : HzUI.Hex("#B07CFF"); | static Color PickColor(int kind) => kind == (int)Pick.Speed ? HzUI.Hex("#4FD2FF") : HzUI.Hex("#B07CFF"); |
SerpentClashGame.View.cs:147 / void SetupLook() | _stoneMat = Lit("#9A968C", 0.15f); |
SerpentClashGame.View.cs:149 / void SetupLook() | _eyeMat = Lit("#FFFDF5", 0.9f); |
SerpentClashGame.View.cs:150 / void SetupLook() | _pupilMat = Lit("#1A1420", 0.95f); |
SerpentClashGame.View.cs:151 / void SetupLook() | _tongueMat = Lit("#E2384D", 0.6f); |
SerpentClashGame.View.cs:152 / void SetupLook() | _haloMat = Emit(HzUI.Hex("#FFC93C"), 0.9f, HzUI.Hex("#FFB020") * 1.4f); _haloMat.SetFloat("_Metallic", 0.5f); |
SerpentClashGame.View.cs:153 / void SetupLook() | _ringPlayer = Unlit(HzUI.Hex("#FFD166") * 1.3f); |
SerpentClashGame.View.cs:160 / void SetupLook() | _padMat = Unlit(HzUI.Hex("#5FF2E0") * 1.6f); |
SerpentClashGame.View.cs:235 / void BuildWorld() | _fill.color = th.Lava ? HzUI.Hex("#FF8A5C") : th.Night ? HzUI.Hex("#7F9BFF") : HzUI.Hex("#BFD6FF"); |
SerpentClashGame.View.cs:244 / void BuildWorld() | _ventMat = Lit("#5B4632", 0.4f); |
SerpentClashGame.View.cs:245 / void BuildWorld() | _ventHot = Emit(HzUI.Hex("#7A3A1A"), 0.4f, HzUI.Hex("#FF6A1F") * 1.6f); |
SerpentClashGame.View.cs:372 / void BuildDecor(Material stone, Material cap, Material bronze, System.Random rng) | if (lilies.Count > 0) MeshObj(_theme.Lava ? "Rocks" : "Lilies", _world, ScMeshes.Combine("lilies", lilies), _theme.Lava ? Lit("#2E2422", 0.2f) : Lit("#4E9A4A", 0.55f), false, true); |
SerpentClashGame.View.cs:382 / void BuildDecor(Material stone, Material cap, Material bronze, System.Random rng) | l.type = LightType.Point; l.color = HzUI.Hex("#FFB062"); l.range = 11f; l.intensity = 1.4f * _theme.FlameGlow; l.shadows = LightShadows.None; |