Unity 6000.0.62f1 · Complete offline documentation

Snowball Rush
Developer Guide

Install. Edit. Reskin. Build your release.

szekipapa77@gmail.com
Snowball Rush cover
CHAPTER 01

Start here: Snowball Rush

Roll a snowball across a snowy platform, then spend its snow to build a bridge to the next section ahead of three rivals.

This is a standalone editable Unity game with 25 authored levels, 4 guided helpers, game-specific authoring/generation and local saves. The required game Kit, publisher-owned HyperCasual LiveOpsKit and TextMesh Pro resources are included. Ads ship in Dummy simulation and IAP is Disabled; external provider SDK binaries are excluded. Additional HLK example systems are reference content, not a claim that this game has every backend feature integrated.

CHAPTER 02

Requirements, installation and first play

  1. Install Unity 6000.0.62f1 with matching Android SDK/NDK/OpenJDK and WebGL modules in Unity Hub. Retain URP 17.0.4, Unity UI 2.0.0, Input System 1.14.2 and the supplied standard modules, including screen capture and Android JNI.
  2. Extract the complete standalone project to a short writable path. Keep Assets/Packages/ProjectSettings together, open it with the matching editor and wait for import. Fix the first Console error before continuing.
  3. For native .unitypackage import, use a matching URP project and import every supplied entry. Retain the private game Kit and actual backend layer. Retain the supplied TextMesh Pro Essential Resources; no extra nested TMP installer is needed.
  4. Run Tools > Szekipapa77 > Snowball Rush> Setup. Check Graphics and every Quality URP assignment, and Active Input Handling=Both. The game uses classic pointer input.
  5. Open Assets/Szekipapa77SnowRush/Games/SnowRush/Scenes/SnowRush_Mobile.unity and press Play. Follow its opening card/tutorial, then use the actual controls described in the next chapter.
  6. Stop Play, open Assets/Szekipapa77SnowRush/Games/SnowRush/Scenes/SnowRush_WebGL.unity and repeat in landscape. Preserve all .meta GUIDs and the exact resource basenames.
CHAPTER 03

Folders and exact source map

All game-relative paths start at Assets/Szekipapa77SnowRush/Games/SnowRush. Runtime UI is constructed in game code; editing an unrelated static Canvas is insufficient. Scripts owns rules/views/HUD, Editor owns authoring, Kit is required game support and Resources/snowrush owns gameplay data and media. Backend settings: Assets/Szekipapa77SnowRush/HyperCasualLiveOpsKit/Resources/HLK/HLKSettings.asset.

Source filePurpose/source heading
PublisherNamespaceMarker.csGame-specific model, renderer or rule support
SnowRushGame.UI.csGame runtime partial
SnowRushGame.View.csGame runtime partial
SnowRushGame.csSnowball Rush: race three rivals over snowy platforms. Roll a snowball, push it into your lane to build a bridge, / knock smaller balls over, reach the finish first and throw your ball into the distance zones. / Game flow, boosters, tutorial, results and test commands live here; the 3D view and the HUD are partial files.
SrBot.csGame-specific model, renderer or rule support
SrData.csGame-specific model, renderer or rule support
SrGen.csGame-specific model, renderer or rule support
SrInput.csFloating drag joystick over the whole screen: press anywhere, the stick appears under the / finger, the direction is normalised (constant run speed) after a small dead zone, release = stop. / UI buttons above it get the press first.
SrLevels.csGame-specific model, renderer or rule support
SrMeshes.csProcedural mesh builder (no CreatePrimitive): primitives are appended with a transform so static scenery of one / material becomes one mesh / one draw call. All shapes have normals and UVs.
SrSfx.csGame-specific model, renderer or rule support
SrSim.csGame-specific model, renderer or rule support

Customer Setup/build/package tools are Kit/Editor/HzTools.cs. Keep the game-specific Kit and backend references; other standalone games should be integrated deliberately rather than copying overlapping Kit classes into the same project.

CHAPTER 04

Gameplay, controls and progression

Roll a snowball across a snowy platform, then spend its snow to build a bridge to the next section ahead of three rivals.

Read the current level goal/limits and first-time hint; the win/fail condition is specific to this game. Complete the guided opening, an ordinary level, retry/failure, helper use and a save/relaunch. Curated content count refers only to the actual levels array, not dictionary words, helper catalogues or extra data libraries. Compare the second record with its first neighbour before changing shape, sequences or identifiers. This record uses name, diff, breather, tut, theme, seed, pl, pace, grow, aggro, hint, fields, cross. Keep array lengths and named object references consistent when adapting the level.

Actual gameplay-model entry pointCurrent continuation/loading implementation
CHAPTER 05

Tutorials and all helpers

Follow the authored first-level guidance and each new helper announcement/guided use. The table gives the actual per-game catalogue, including free-charge counts rather than an assumed shared default. Activating a targeted helper only arms it: perform its required target action and check the effect. An ordinary use and a guided free use can consume charges differently.

HelperUnlockFree chargesActual effect
Snow Boost33Fills your snowball to the max, right now.
Speed Skates62Run, roll and build 50% faster for 10 seconds.
Ice Shield102Nobody can knock you down for 15 seconds.
Snow Cannon152Builds 40% of your lane in one blast.

Exact catalogue/effect sources: SnowRushGame.cs. Unlocks and ordinary charge/refill logic live in the game source. Out-of-charge ad actions must wait for the actual success callback. Reset only an isolated test save when replaying the entire tutorial sequence.

CHAPTER 06

Visual editor: a worked editing session

  1. Stop Play and back up Assets/Szekipapa77SnowRush/Games/SnowRush/Resources/snowrush/Levels/levels.json. Open Tools > Szekipapa77 > Snowball Rush> Level Editor.
  2. Select an ordinary early entry, duplicate it with the actual Dup/Duplicate control, and edit the visible name/title where available. Preserve the original guided opening.
  3. Apply this game-specific example: In a backup of the second entry, change name from Bump Hill to Bump Hill Remix. Reopen that entry in the level editor and confirm its new name. Keep the original diff value (10) during this first edit to isolate the naming change.
  4. Use the exact controls in the table below, validate the edited entry, resolve every issue, Save explicitly and stop/restart Play before testing the correct index.
  5. Check the result in portrait and landscape, including completion/retry. Generator or painter changes are not necessarily saved until Save is pressed; inspect the editor dirty marker.
Current editor locationExact control
Editor/SnowRushLevelEditor.cs:119EditorGUILayout.HelpBox("The level editor works in Edit mode. Stop Play mode to edit.", MessageType.Info);
Editor/SnowRushLevelEditor.cs:136if (GUILayout.Button("Save", EditorStyles.toolbarButton, GUILayout.Width(60))) Save();
Editor/SnowRushLevelEditor.cs:137if (GUILayout.Button("Reload", EditorStyles.toolbarButton, GUILayout.Width(60)))
Editor/SnowRushLevelEditor.cs:141if (GUILayout.Button("Undo", EditorStyles.toolbarButton, GUILayout.Width(50))) Undo.PerformUndo();
Editor/SnowRushLevelEditor.cs:142if (GUILayout.Button("Redo", EditorStyles.toolbarButton, GUILayout.Width(50))) Undo.PerformRedo();
Editor/SnowRushLevelEditor.cs:144if (GUILayout.Button("Validate", EditorStyles.toolbarButton, GUILayout.Width(70))) ValidateCurrent();
Editor/SnowRushLevelEditor.cs:145if (GUILayout.Button("Validate All", EditorStyles.toolbarButton, GUILayout.Width(85))) ValidateAllInWindow();
Editor/SnowRushLevelEditor.cs:151if (GUILayout.Button("Play this level", EditorStyles.toolbarButton, GUILayout.Width(100))) PlayLevel(_sel + 1);
Editor/SnowRushLevelEditor.cs:166if (GUILayout.Button($"{i + 1,3}. {l.name} (d{l.diff}){tag}", style))
Editor/SnowRushLevelEditor.cs:173if (GUILayout.Button("Add")) { Rec("Add level"); _file.levels.Insert(_sel + 1, NewLevel("New Race")); _sel++; }
Editor/SnowRushLevelEditor.cs:174if (GUILayout.Button("Dup")) { Rec("Duplicate level"); var c = Cur.Clone(); c.name += " copy"; _file.levels.Insert(_sel + 1, c); _sel++; }
Editor/SnowRushLevelEditor.cs:176if (GUILayout.Button("Del") && EditorUtility.DisplayDialog("Delete level", $"Delete level {_sel + 1} \"{Cur.name}\"?", "Delete", "Cancel"))
Editor/SnowRushLevelEditor.cs:181if (GUILayout.Button("Up")) { Rec("Move level"); (_file.levels[_sel], _file.levels[_sel - 1]) = (_file.levels[_sel - 1], _file.levels[_sel]); _sel--; }
Editor/SnowRushLevelEditor.cs:183if (GUILayout.Button("Down")) { Rec("Move level"); (_file.levels[_sel], _file.levels[_sel + 1]) = (_file.levels[_sel + 1], _file.levels[_sel]); _sel++; }
Editor/SnowRushLevelEditor.cs:186if (GUILayout.Button("Rebuild from recipe (level " + (_sel + 1) + ")")) RebuildFromRecipe();
Editor/SnowRushLevelEditor.cs:189_genFold = EditorGUILayout.Foldout(_genFold, "Auto Generate", true);
Editor/SnowRushLevelEditor.cs:197_genCount = Mathf.Clamp(EditorGUILayout.IntField("Count", _genCount), 1, 100);
Editor/SnowRushLevelEditor.cs:198_genStart = Mathf.Max(1, EditorGUILayout.IntField("Start level #", _genStart));
Editor/SnowRushLevelEditor.cs:199_genSeed = EditorGUILayout.IntField("Seed", _genSeed);
Editor/SnowRushLevelEditor.cs:200_genD0 = EditorGUILayout.Slider("Start difficulty", _genD0, 0f, 1f);
Editor/SnowRushLevelEditor.cs:201_genD1 = EditorGUILayout.Slider("End difficulty", _genD1, 0f, 1f);
Editor/SnowRushLevelEditor.cs:202_genBreath = Mathf.Clamp(EditorGUILayout.IntField("Breather every", _genBreath), 0, 20);
Editor/SnowRushLevelEditor.cs:203_genReplace = EditorGUILayout.Toggle("Replace existing", _genReplace);
Editor/SnowRushLevelEditor.cs:214EditorGUILayout.LabelField("yellow = normal, green = breather", EditorStyles.miniLabel);
Editor/SnowRushLevelEditor.cs:215if (GUILayout.Button("Generate " + _genCount + " level(s)")) AutoGenerate();
Editor/SnowRushLevelEditor.cs:274string name = EditorGUILayout.TextField("Name", l.name, GUILayout.Width(250));
Editor/SnowRushLevelEditor.cs:276int theme = EditorGUILayout.IntSlider("Theme", l.theme, 0, 3, GUILayout.Width(180));
Editor/SnowRushLevelEditor.cs:278bool br = EditorGUILayout.Toggle("Breather", l.breather, GUILayout.Width(80));
Editor/SnowRushLevelEditor.cs:279bool tut = EditorGUILayout.Toggle("Tutorial", l.tut > 0, GUILayout.Width(80));
Editor/SnowRushLevelEditor.cs:281int diff = EditorGUILayout.IntSlider("Diff", l.diff, 0, 100, GUILayout.Width(200));
Editor/SnowRushLevelEditor.cs:285int pl = EditorGUILayout.IntSlider("Your lane", l.pl, 0, 3, GUILayout.Width(200));
Editor/SnowRushLevelEditor.cs:286float pace = EditorGUILayout.Slider(new GUIContent("Rival pace", "Bigger = slower rivals (minimum lane time factor)"), l.pace, 0.3f, 2.5f, GUILayout.Width(240));
Editor/SnowRushLevelEditor.cs:287float grow = EditorGUILayout.Slider(new GUIContent("Rival snow", "Rival snowball growth per second"), l.grow, 0.03f, 0.12f, GUILayout.Width(240));
Editor/SnowRushLevelEditor.cs:288float aggro = EditorGUILayout.Slider(new GUIContent("Aggression", "Chance a rival hunts a smaller ball"), l.aggro, 0f, 1f, GUILayout.Width(240));
Editor/SnowRushLevelEditor.cs:289int seed = EditorGUILayout.IntField("Seed", l.seed, GUILayout.Width(140));
Editor/SnowRushLevelEditor.cs:293string hint = EditorGUILayout.TextField("Hint", l.hint);
Editor/SnowRushLevelEditor.cs:302EditorGUILayout.HelpBox((_report.Ok ? "Proven solvable: " : "NOT proven: ") + _report.Summary, _report.Ok ? MessageType.Info : MessageType.Error);
Editor/SnowRushLevelEditor.cs:319if (GUILayout.Button("+ Platform & crossing", GUILayout.Width(160))) AddSection();
Editor/SnowRushLevelEditor.cs:321if (GUILayout.Button("- Last crossing", GUILayout.Width(110))) RemoveSection();
Editor/SnowRushLevelEditor.cs:324EditorGUILayout.LabelField("Click a lane to cycle Plain / Water / Stairs. Click a platform to select it; with a brush, click it to place an object. Drag objects to move, right-click deletes. Wheel scrolls, Ctrl+wheel zooms. Red border = your lane.", EditorStyles.miniLabel);
Editor/SnowRushLevelEditor.cs:358if (l.fields.Count != l.cross.Count + 1) { EditorGUILayout.HelpBox("Needs platforms = crossings + 1.", MessageType.Error); return; }
Editor/SnowRushLevelEditor.cs:528float len = EditorGUILayout.Slider("Length", cr.len, 3f, 14f, GUILayout.Width(260));
Editor/SnowRushLevelEditor.cs:529float rise = EditorGUILayout.Slider("Rise", cr.rise, -1f, 3f, GUILayout.Width(240));
Editor/SnowRushLevelEditor.cs:530bool chute = EditorGUILayout.Toggle("Sled chute", cr.chute != 0, GUILayout.Width(100));
Editor/SnowRushLevelEditor.cs:535for (int k = 0; k < 4; k++) lanes[k] = EditorGUILayout.Popup("Lane " + (k + 1) + (k == l.pl ? " (you)" : ""), lanes[k], LaneNames, GUILayout.Width(230));
Editor/SnowRushLevelEditor.cs:538EditorGUILayout.LabelField("Snow cost of a lane = base x length / 8 (plain 0.8, water 1.1, stairs 0.4 of a full ball).", EditorStyles.miniLabel);
Editor/SnowRushLevelEditor.cs:547float len = EditorGUILayout.Slider("Length", f.len, 8f, 30f, GUILayout.Width(260));
Editor/SnowRushLevelEditor.cs:557int t = EditorGUILayout.Popup("Type", o.t, ObjNames, GUILayout.Width(150));
Editor/SnowRushLevelEditor.cs:558float x = EditorGUILayout.FloatField("x", o.x, GUILayout.Width(90));
Editor/SnowRushLevelEditor.cs:559float z = EditorGUILayout.FloatField("z", o.z, GUILayout.Width(90));
Editor/SnowRushLevelEditor.cs:560float r = EditorGUILayout.FloatField("r", o.r, GUILayout.Width(90));
Editor/SnowRushLevelEditor.cs:562if (GUILayout.Button("Delete", GUILayout.Width(70))) { Rec("Delete object"); f.objs.RemoveAt(_obj); _obj = -1; EditorGUILayout.EndHorizontal(); EditorGUILayout.EndScrollView(); return; }
Editor/SnowRushLevelEditor.cs:566else EditorGUILayout.LabelField(f.objs.Count + " objects. Pick a brush and click the platform to add one.", EditorStyles.miniLabel);
Editor/SnowRushLevelEditor.cs:568else EditorGUILayout.LabelField($"{l.fields.Count} platforms, {l.cross.Count} crossings. Select a platform or a lane to edit it.", EditorStyles.miniLabel);
CHAPTER 07

Generation, insertion, replacement and validation

This editor has its own Replace existing and start-index behavior. The exact range-write statements below show which existing records are overwritten and when new records are inserted/appended; review those controls before committing a range that overlaps published levels.

Worked extension: back up the bank and generate a small trailing set of 3 entries with a reproducible seed such as 4242 and a moderate increasing difficulty where that panel exposes it. For a From/To panel choose the next 3 unused 1-based indexes. Review the real controls, range-write code and cancellation behavior below; then validate, Save, reopen JSON and verify the count. A deterministic solver/bot result helps detect invalid layouts but does not certify an enjoyable difficulty curve. Runtime-generated continuation does not automatically append records to the project bank.

Actual generator implementationCurrent source
Editor/SnowRushLevelEditor.cs:30[SerializeField] bool _genFold;
Editor/SnowRushLevelEditor.cs:31[SerializeField] int _genCount = 5, _genStart = 26, _genSeed = 1, _genBreath = 5;
Editor/SnowRushLevelEditor.cs:32[SerializeField] float _genD0 = 0.6f, _genD1 = 0.95f;
Editor/SnowRushLevelEditor.cs:33[SerializeField] bool _genReplace = true;
Editor/SnowRushLevelEditor.cs:85if (_file.levels.Count == 0) _file.levels.Add(NewLevel("New Race"));
Editor/SnowRushLevelEditor.cs:173if (GUILayout.Button("Add")) { Rec("Add level"); _file.levels.Insert(_sel + 1, NewLevel("New Race")); _sel++; }
Editor/SnowRushLevelEditor.cs:174if (GUILayout.Button("Dup")) { Rec("Duplicate level"); var c = Cur.Clone(); c.name += " copy"; _file.levels.Insert(_sel + 1, c); _sel++; }
Editor/SnowRushLevelEditor.cs:189_genFold = EditorGUILayout.Foldout(_genFold, "Auto Generate", true);
Editor/SnowRushLevelEditor.cs:190if (_genFold) AutoGenerateUI();
Editor/SnowRushLevelEditor.cs:197_genCount = Mathf.Clamp(EditorGUILayout.IntField("Count", _genCount), 1, 100);
Editor/SnowRushLevelEditor.cs:198_genStart = Mathf.Max(1, EditorGUILayout.IntField("Start level #", _genStart));
Editor/SnowRushLevelEditor.cs:199_genSeed = EditorGUILayout.IntField("Seed", _genSeed);
Editor/SnowRushLevelEditor.cs:200_genD0 = EditorGUILayout.Slider("Start difficulty", _genD0, 0f, 1f);
Editor/SnowRushLevelEditor.cs:201_genD1 = EditorGUILayout.Slider("End difficulty", _genD1, 0f, 1f);
Editor/SnowRushLevelEditor.cs:202_genBreath = Mathf.Clamp(EditorGUILayout.IntField("Breather every", _genBreath), 0, 20);
Editor/SnowRushLevelEditor.cs:203_genReplace = EditorGUILayout.Toggle("Replace existing", _genReplace);
Editor/SnowRushLevelEditor.cs:207float bw = r.width / _genCount;
Editor/SnowRushLevelEditor.cs:208for (int i = 0; i < _genCount; i++)
Editor/SnowRushLevelEditor.cs:215if (GUILayout.Button("Generate " + _genCount + " level(s)")) AutoGenerate();
Editor/SnowRushLevelEditor.cs:220double t = _genCount <= 1 ? 0 : i / (double)(_genCount - 1);
Editor/SnowRushLevelEditor.cs:221d = _genD0 + (_genD1 - _genD0) * t;
Editor/SnowRushLevelEditor.cs:222int cyc = Math.Max(2, _genBreath > 0 ? _genBreath : 5);
Editor/SnowRushLevelEditor.cs:224breather = _genBreath > 0 && (i + 1) % _genBreath == 0;
Editor/SnowRushLevelEditor.cs:235for (int i = 0; i < _genCount; i++)
Editor/SnowRushLevelEditor.cs:237int level = _genStart + i;
Editor/SnowRushLevelEditor.cs:238if (EditorUtility.DisplayCancelableProgressBar("Auto Generate", $"Level {level} ({i + 1}/{_genCount})", i / (float)_genCount)) break;
Editor/SnowRushLevelEditor.cs:240var spec = SrGen.RandomSpec(level, _genSeed * 1000 + level, d, br);
Editor/SnowRushLevelEditor.cs:244if (_genReplace && idx < _file.levels.Count) _file.levels[idx] = lv;
Editor/SnowRushLevelEditor.cs:245else if (idx <= _file.levels.Count) _file.levels.Insert(Math.Min(idx, _file.levels.Count), lv);
Editor/SnowRushLevelEditor.cs:246else _file.levels.Add(lv);
Editor/SnowRushLevelEditor.cs:251_sel = Mathf.Clamp(_genStart - 1, 0, _file.levels.Count - 1);
Editor/SnowRushLevelEditor.cs:253_status = $"Generated {made} level(s) from level {_genStart}; each one proven by the bot against {_seeds} rival seeds" + (weak > 0 ? $" ({weak} NOT proven, check them)." : ".");
CHAPTER 08

Actual level schema and safe identifiers

Compare the second record with its first neighbour before changing shape, sequences or identifiers. This record uses name, diff, breather, tut, theme, seed, pl, pace, grow, aggro, hint, fields, cross. Keep array lengths and named object references consistent when adapting the level.

Canonical bank: Assets/Szekipapa77SnowRush/Games/SnowRush/Resources/snowrush/Levels/levels.json. The actual first record below is an example of the shipped schema, including any diagnostic fields. Preserve numeric/boolean types, root version fields and array order. Source fields/comments follow; use the visual editor for encoded coordinates and type enums.

{
  "name": "First Snow",
  "diff": 0,
  "breather": false,
  "tut": 1,
  "theme": 1,
  "seed": 1037,
  "pl": 1,
  "pace": 1.7,
  "grow": 0.055,
  "aggro": 0,
  "hint": "",
  "fields": [
    {
      "len": 14,
      "objs": []
    },
    {
      "len": 26,
      "objs": []
    }
  ],
  "cross": [
    {
      "len": 5,
      "lanes": [
        0,
        0,
        0,
        0
      ],
      "chute": 0,
      "rise": 0.9
    }
  ]
}
Model declarationExact field/property
Scripts/SrData.cs:18public int t;
Scripts/SrData.cs:19public float x, z; // z is relative to the platform's start edge
Scripts/SrData.cs:20public float r = 0.6f;
Scripts/SrData.cs:29public float len = 18;
Scripts/SrData.cs:30public List<Obj> objs = new List<Obj>();
Scripts/SrData.cs:44public float len = 7;
Scripts/SrData.cs:45public int[] lanes = { 0, 0, 0, 0 };
Scripts/SrData.cs:46public int chute; // 1 = the bridge ends in a sled chute down to the next platform
Scripts/SrData.cs:47public float rise = 1; // height gained over the bridge (visual)
Scripts/SrData.cs:54public string name = "Race";
Scripts/SrData.cs:55public int diff; // 0..100 difficulty (generator / validator)
Scripts/SrData.cs:56public bool breather;
Scripts/SrData.cs:57public int tut; // 1 = guided first level
Scripts/SrData.cs:58public int theme; // decoration / sky variant
Scripts/SrData.cs:59public int seed = 1; // decoration + AI seed base
Scripts/SrData.cs:60public int pl = 1; // player's lane 0..3
Scripts/SrData.cs:61public float pace = 1.2f; // rival minimum-crossing-time factor (bigger = slower rivals)
Scripts/SrData.cs:62public float grow = 0.075f; // rival snow per second
Scripts/SrData.cs:63public float aggro; // rival hunting chance 0..1
Scripts/SrData.cs:64public string hint = "";
Scripts/SrData.cs:65public List<Field> fields = new List<Field>();
Scripts/SrData.cs:66public List<Crossing> cross = new List<Crossing>();
Scripts/SrData.cs:78public bool HasLane(LaneType t) { foreach (var c in cross) foreach (var k in c.lanes) if (k == (int)t) return true; return false; }
Scripts/SrData.cs:79public bool PlayerHasLane(LaneType t) { foreach (var c in cross) if (c.lanes[pl] == (int)t) return true; return false; }
Scripts/SrData.cs:80public bool HasObj(ObjType t) { foreach (var f in fields) foreach (var o in f.objs) if (o.t == (int)t) return true; return false; }
Scripts/SrData.cs:81public bool HasChute { get { foreach (var c in cross) if (c.chute != 0) return true; return false; } }
Scripts/SrData.cs:82public bool Mixed { get { foreach (var c in cross) for (int k = 1; k < 4; k++) if (c.lanes[k] != c.lanes[0]) return true; return false; } }
Scripts/SrData.cs:88public List<LevelDef> levels = new List<LevelDef>();
Scripts/SrData.cs:141public double Value => NextU() / 4294967296.0;
Scripts/SrData.cs:142public int Range(int a, int bExclusive) => bExclusive <= a ? a : a + (int)(NextU() % (uint)(bExclusive - a));
Scripts/SrData.cs:143public double Range(double a, double b) => a + (b - a) * Value;
Scripts/SrData.cs:144public bool Chance(double p) => Value < p;

Keep GameId=snowrush, save prefixes, resource IDs, enum values and script GUIDs stable during cosmetic editing. Visible names/hints and hierarchy/object IDs are different things. Derived validation properties are not a substitute for changing actual model fields.

CHAPTER 09

Reskin recipe: exact interface colours

Open Scripts/SnowRushGame.UI.cs and find Ink, currently assigned HzUI.Hex("#18406E"). For a worked edit, replace only that expression with HzUI.Hex("#42C9B0"), compile and relaunch. Keep the symbol/type and intended contrast. Actual consumers follow, then the full current palette/hex inventory. This edit changes those consumers; it does not automatically recolour sprites,3 Dmaterials or other independent palettes.

Actual consumerCurrent code
Scripts/SnowRushGame.UI.cs:178 / void BuildHud()_tipText = HzUI.Label("T", _tipPanel, "", 40, Ink, TextAnchor.MiddleCenter, false); _tipText.fontStyle = FontStyle.Bold;
Scripts/SnowRushGame.UI.cs:208 / void BuildHud()hand.AddOutline(Ink, 5); hand.AddShadow(new Color(0, 0, 0, 0.3f), 6);
Scripts/SnowRushGame.UI.cs:284 / void BuildSides()_sideLevel = HzUI.Label("Lvl", left.transform, "Level " + _playLevel, 60, Ink);
Scripts/SnowRushGame.UI.cs:295 / void BuildSides()var gm = HzUI.Label("Msg", right.transform, "Drag (or WASD / arrows)\nto run and roll snow.\nPush into YOUR lane\nto build a bridge.\nBigger balls knock\nsmaller ones over.\nFirst to the finish wins!", 36, Ink, TextAnchor.MiddleCenter, false);
Scripts/SnowRushGame.UI.cs:722 / HzPopup SrPopup(string title, string message, Color accent, Sprite art, params (string label, Color color, Action action)[] buttons)p.Message = HzUI.Label("Msg", card.transform, message, 42, Ink, TextAnchor.MiddleCenter, false);

Review HUD, menus, help, locked/unlocked tools, goal states, result popups and both orientations. Look through the actual Art/View/Theme files below for board/procedural colours. Rebuild affected demo outputs after accepting a colour change.

Palette locationExact source
Scripts/SnowRushGame.UI.cs:16 / declarationsstatic readonly Color Ink = HzUI.Hex("#18406E");
Scripts/SnowRushGame.UI.cs:17 / declarationsstatic readonly Color Blue = HzUI.Hex("#2F8FEA");
Scripts/SnowRushGame.UI.cs:18 / declarationsstatic readonly Color BlueDark = HzUI.Hex("#1F5FB8");
Scripts/SnowRushGame.UI.cs:19 / declarationsstatic readonly Color Lime = HzUI.Hex("#7CC520");
Scripts/SnowRushGame.UI.cs:20 / declarationsstatic readonly Color Yellow = HzUI.Hex("#FFE066");
Scripts/SnowRushGame.UI.cs:21 / declarationsstatic readonly Color Gold = HzUI.Hex("#FFC23A");
Scripts/SnowRushGame.UI.cs:22 / declarationsstatic readonly Color FailBlue = HzUI.Hex("#5C86C8");
Scripts/SnowRushGame.UI.cs:23 / declarationsstatic readonly Color VictoryRed = HzUI.Hex("#F2413B");
Scripts/SnowRushGame.UI.cs:24 / declarationsstatic readonly Color Purple = HzUI.Hex("#9B5BE8");
Scripts/SnowRushGame.UI.cs:190 / void BuildHud()ball.AddOutline(HzUI.Hex("#9CC9F0"), 4);
Scripts/SnowRushGame.UI.cs:254 / void BuildSides()var fill = HzUI.Img("Sky", holder, HzUI.Gradient(HzUI.Hex("#59B8F5"), HzUI.Hex("#CDEFFF")), Color.white);
Scripts/SnowRushGame.UI.cs:286 / void BuildSides()var nm = HzUI.Label("Nm", left.transform, _def != null ? _def.name : "", 40, HzUI.Hex("#3D6FA8"), TextAnchor.MiddleCenter, false); nm.fontStyle = FontStyle.Bold;
Scripts/SnowRushGame.UI.cs:288 / void BuildSides()_sideStars = HzUI.Label("Stars", left.transform, "", 40, HzUI.Hex("#E39A1E"), TextAnchor.MiddleCenter, false); _sideStars.fontStyle = FontStyle.Bold;
Scripts/SnowRushGame.UI.cs:352 / void RefreshBoosters()v.Face.color = un ? Blue : HzUI.Hex("#9FB2CF");
Scripts/SnowRushGame.UI.cs:686 / HzPopup SrPopup(string title, string message, Color accent, Sprite art, params (string label, Color color, Action action)[] buttons)var inner = HzUI.Img("Inner", card.transform, HzUI.Gradient(HzUI.Hex("#BFE6FF"), HzUI.Hex("#EAF7FF")), Color.white); inner.raycastTarget = false;
Scripts/SnowRushGame.UI.cs:792 / void AddStars(HzPopup p, int stars)else { var ic = HzIcons.Icon(row, HzIcons.Star, 120, on ? Gold : HzUI.Hex("#B9C2DA")); ic.AddOutline(on ? HzUI.Hex("#D9901E") : HzUI.Hex("#8E99B8"), 4); g = ic; }
Scripts/SnowRushGame.UI.cs:817 / void ShowSettingsPopup()("Restart Level", HzUI.Hex("#FF9F2E"), () => LoadLevel(_playLevel, true)),
Scripts/SnowRushGame.View.cs:16 / declarationsstatic readonly string[] RacerHex = { "#F2413B", "#3D7BF0", "#3CC45A", "#9B5BE8" };
Scripts/SnowRushGame.View.cs:17 / declarationsstatic readonly string[] HatHex = { "#2F6FE0", "#F2413B", "#FFC23A", "#FF7FBF" };
Scripts/SnowRushGame.View.cs:18 / declarationsstatic readonly string[] ZoneHex = { "#F2413B", "#FF7A2F", "#FFB02E", "#FFD93B", "#B6E03A", "#3CC45A", "#2FC4C4", "#3D9BF0", "#5B6BF0", "#9B5BE8" };
Scripts/SnowRushGame.View.cs:85 / void SetupLook()_cam.backgroundColor = HzUI.Hex("#BFE6FF");
Scripts/SnowRushGame.View.cs:96 / void SetupLook()_sun.color = HzUI.Hex("#FFF7EA"); _sun.intensity = 1.2f;
Scripts/SnowRushGame.View.cs:104 / void SetupLook()fill.transform.rotation = Quaternion.Euler(28, 150, 0); fill.color = HzUI.Hex("#CFE6FF"); fill.intensity = 0.38f;
Scripts/SnowRushGame.View.cs:107 / void SetupLook()RenderSettings.ambientSkyColor = HzUI.Hex("#D8EEFF");
Scripts/SnowRushGame.View.cs:108 / void SetupLook()RenderSettings.ambientEquatorColor = HzUI.Hex("#C9E4FA");
Scripts/SnowRushGame.View.cs:109 / void SetupLook()RenderSettings.ambientGroundColor = HzUI.Hex("#8FB6DE");
Scripts/SnowRushGame.View.cs:135 / void MakeMaterials()_snowMat = Lit(HzUI.Hex("#F4F9FF"), 0.28f); SetTex(_snowMat, snowTex);
Scripts/SnowRushGame.View.cs:136 / void MakeMaterials()_builtMat = Lit(HzUI.Hex("#FFFFFF"), 0.32f); SetTex(_builtMat, snowTex);
Scripts/SnowRushGame.View.cs:137 / void MakeMaterials()_cliffMat = Lit(HzUI.Hex("#8CCBF2"), 0.65f);
Scripts/SnowRushGame.View.cs:138 / void MakeMaterials()_waterMat = Lit(HzUI.Hex("#3AA2EC"), 0.9f); _waterMat.SetFloat("_Metallic", 0.1f);
Scripts/SnowRushGame.View.cs:142 / void MakeMaterials()_curbMat = Lit(HzUI.Hex("#E9F4FF"), 0.5f);
Scripts/SnowRushGame.View.cs:143 / void MakeMaterials()_pineMat = Lit(HzUI.Hex("#2E8B6A"), 0.3f);
Scripts/SnowRushGame.View.cs:144 / void MakeMaterials()_trunkMat = Lit(HzUI.Hex("#8A5A3C"), 0.2f);
Scripts/SnowRushGame.View.cs:145 / void MakeMaterials()_rockMat = Lit(HzUI.Hex("#7F9BC2"), 0.25f);
Scripts/SnowRushGame.View.cs:146 / void MakeMaterials()_peakMat = Lit(HzUI.Hex("#FBFDFF"), 0.35f);
Scripts/SnowRushGame.View.cs:147 / void MakeMaterials()_woodMat = Lit(HzUI.Hex("#B7794A"), 0.25f);
Scripts/SnowRushGame.View.cs:148 / void MakeMaterials()_carrotMat = Lit(HzUI.Hex("#FF8A2A"), 0.5f);
Scripts/SnowRushGame.View.cs:149 / void MakeMaterials()_coalMat = Lit(HzUI.Hex("#26303D"), 0.7f);
Scripts/SnowRushGame.View.cs:150 / void MakeMaterials()_ribbonMat = Lit(HzUI.Hex("#E8282E"), 0.6f);
Scripts/SnowRushGame.View.cs:151 / void MakeMaterials()_giftMat = Lit(HzUI.Hex("#4FB6F5"), 0.6f);
Scripts/SnowRushGame.View.cs:152 / void MakeMaterials()_archMat = Lit(HzUI.Hex("#FFFFFF"), 0.55f);
Scripts/SnowRushGame.View.cs:154 / void MakeMaterials()_chuteMat = Lit(HzUI.Hex("#7FD0F5"), 0.9f);
Scripts/SnowRushGame.View.cs:155 / void MakeMaterials()_arrowMat = Lit(HzUI.Hex("#8FD62F"), 0.6f);
Scripts/SnowRushGame.View.cs:198 / void BuildSky()SetTex(_skyMat, SrMeshes.GradientTexture(HzUI.Hex("#EAF8FF"), HzUI.Hex("#BFE6FF"), HzUI.Hex("#59B8F5")));
Scripts/SnowRushGame.View.cs:1024 / void BoosterFx(int b)var c = b == BFill ? Color.white : b == BSkates ? HzUI.Hex("#FF6B5B") : b == BShield ? HzUI.Hex("#7FD8FF") : HzUI.Hex("#3D7BF0");
Scripts/SnowRushGame.View.cs:1037 / void HideGift()SnowPuff(g.position + Vector3.up * 0.5f, 14, 1f, HzUI.Hex("#8FD8FF"));
CHAPTER 10

Reskin recipe: visible interface text and localization

Worked string edit: open Scripts/SnowRushGame.UI.cs, find the display literal "Settings" in var p = SrPopup("Settings", "", Blue, null, and change its visible value to "Options". Keep the method/property/resource/save identifiers unchanged. The Title property and title artwork can be separate visible uses; changing the title must not rename GameId.

The exact table covers construction and later refresh assignments. In Label/Button calls, an object-name argument is not necessarily the displayed label: edit the displayed-text argument. Update initial and refreshed Sound/Music/ON/OFF labels, HUD numbering, results/help/tutorial messages and helper names/descriptions deliberately. Preserve interpolation braces, numeric formatting, rich-text tags and line breaks. Shared HLK localization does not automatically translate hard-coded game strings. Word/dictionary/category data is separate gameplay content with its own validation.

Current method/locationDisplay assignment
Scripts/SnowRushGame.UI.cs:134 / void BuildHud()_levelText = HzUI.Label("Level", _col, "LEVEL " + _playLevel, 88, Color.white);
Scripts/SnowRushGame.UI.cs:146 / void BuildHud()_coinText = HzUI.Label("N", cp.transform, "0", 48, Color.white, TextAnchor.MiddleRight);
Scripts/SnowRushGame.UI.cs:167 / void BuildHud()_rankText = HzUI.Label("Rank", _col, "4th", 58, Color.white);
Scripts/SnowRushGame.UI.cs:178 / void BuildHud()_tipText = HzUI.Label("T", _tipPanel, "", 40, Ink, TextAnchor.MiddleCenter, false); _tipText.fontStyle = FontStyle.Bold;
Scripts/SnowRushGame.UI.cs:280 / void BuildSides()var title = HzUI.Label("Title", left.transform, "Snowball\nRush", 84, Color.white);
Scripts/SnowRushGame.UI.cs:284 / void BuildSides()_sideLevel = HzUI.Label("Lvl", left.transform, "Level " + _playLevel, 60, Ink);
Scripts/SnowRushGame.UI.cs:286 / void BuildSides()var nm = HzUI.Label("Nm", left.transform, _def != null ? _def.name : "", 40, HzUI.Hex("#3D6FA8"), TextAnchor.MiddleCenter, false); nm.fontStyle = FontStyle.Bold;
Scripts/SnowRushGame.UI.cs:288 / void BuildSides()_sideStars = HzUI.Label("Stars", left.transform, "", 40, HzUI.Hex("#E39A1E"), TextAnchor.MiddleCenter, false); _sideStars.fontStyle = FontStyle.Bold;
Scripts/SnowRushGame.UI.cs:294 / void BuildSides()var gt = HzUI.Label("Goal", right.transform, "HOW TO PLAY", 52, Blue); gt.rectTransform.Place(new Vector2(0.5f, 1), new Vector2(cw - 30, 80), new Vector2(0, -24), new Vector2(0.5f, 1));
Scripts/SnowRushGame.UI.cs:295 / void BuildSides()var gm = HzUI.Label("Msg", right.transform, "Drag (or WASD / arrows)\nto run and roll snow.\nPush into YOUR lane\nto build a bridge.\nBigger balls knock\nsmaller ones over.\nFirst to the finish wins!", 36, Ink, TextAnchor.MiddleCenter, false);
Scripts/SnowRushGame.UI.cs:304 / void BuildSides()v.Btn = HzUI.Button("Booster" + b, parent, null, new Color(1, 1, 1, 0), Color.white, () => OnBooster(id), 40, 44);
Scripts/SnowRushGame.UI.cs:325 / void BuildSides()v.Timer = HzUI.Label("Timer", v.Root, "", 46, Yellow); v.Timer.raycastTarget = false;
Scripts/SnowRushGame.UI.cs:333 / void BuildSides()v.LockText = HzUI.Label("Lv", lockGo, "Lv " + BoostUnlock[b], 36, Color.white); v.LockText.raycastTarget = false;
Scripts/SnowRushGame.UI.cs:340 / void BuildSides()v.BadgeText = HzUI.Label("N", bd.transform, "", 34, Color.white); v.BadgeText.rectTransform.Stretch(); v.BadgeText.raycastTarget = false;
Scripts/SnowRushGame.UI.cs:357 / void RefreshBoosters()v.BadgeText.text = c > 0 ? c.ToString(CultureInfo.InvariantCulture) : "+";
Scripts/SnowRushGame.UI.cs:367 / void UpdateHud(bool punch)_levelText.text = "LEVEL " + _playLevel;
Scripts/SnowRushGame.UI.cs:375 / void UpdateHud(bool punch)if (_sideLevel) _sideLevel.text = "Level " + _playLevel;
Scripts/SnowRushGame.UI.cs:380 / void UpdateHud(bool punch)_sideStars.text = "Stars: " + total;
Scripts/SnowRushGame.UI.cs:399 / void UpdateHudLive(float dt)_rankText.text = rank == 1 ? "1st" : rank == 2 ? "2nd" : rank == 3 ? "3rd" : "4th";
Scripts/SnowRushGame.UI.cs:455 / void BuildPops()var t = HzUI.Label("Pop", _labels, "", 64, Color.white);
Scripts/SnowRushGame.UI.cs:465 / void BuildPops()var t = HzUI.Label("Zone" + (i + 1), _labels, "x" + (i + 1), 54, Color.white);
Scripts/SnowRushGame.UI.cs:540 / void LevelBanner()var t = HzUI.Label("L", bg.transform, _def.name, 72, Yellow); t.rectTransform.Place(new Vector2(0.5f, 1), new Vector2(760, 90), new Vector2(0, -8), new Vector2(0.5f, 1));
Scripts/SnowRushGame.UI.cs:543 / void LevelBanner()var n = HzUI.Label("N", bg.transform, sub, 40, Color.white); n.rectTransform.Place(new Vector2(0.5f, 0), new Vector2(760, 56), new Vector2(0, 12), new Vector2(0.5f, 0));
Scripts/SnowRushGame.UI.cs:583 / void RefreshTutorial()ShowTip(IsPortrait ? "Drag to run and roll a snowball!" : "Drag (or WASD / arrows) to roll a snowball!", 0);
Scripts/SnowRushGame.UI.cs:587 / void RefreshTutorial()ShowTip("Push into your RED lane to build a bridge!", 0);
Scripts/SnowRushGame.UI.cs:591 / void RefreshTutorial()ShowTip("Keep pushing forward to build!", 0);
Scripts/SnowRushGame.UI.cs:595 / void RefreshTutorial()ShowTip("Almost there! Out of snow? Roll more.", 3f);
Scripts/SnowRushGame.UI.cs:599 / void RefreshTutorial()ShowTip("Bridge done! Run to the finish!", 3f);
Scripts/SnowRushGame.UI.cs:617 / void RefreshGuide()ShowTip("Tap " + BoostName[_guide] + " to try it. This one is free!", 0);
Scripts/SnowRushGame.UI.cs:630 / void CompleteGuide(int b)Toast("Nice! " + BoostName[b] + " is yours", Yellow, 1.3f, 0.66f);
Scripts/SnowRushGame.UI.cs:716 / HzPopup SrPopup(string title, string message, Color accent, Sprite art, params (string label, Color color, Action action)[] buttons)var t = HzUI.Label("Title", ribbon.transform, title, 68, Color.white); t.rectTransform.Stretch(6);
Scripts/SnowRushGame.UI.cs:722 / HzPopup SrPopup(string title, string message, Color accent, Sprite art, params (string label, Color color, Action action)[] buttons)p.Message = HzUI.Label("Msg", card.transform, message, 42, Ink, TextAnchor.MiddleCenter, false);
Scripts/SnowRushGame.UI.cs:771 / string TopPopupTitle()return r ? r.GetComponent<Text>().text : "popup";
Scripts/SnowRushGame.UI.cs:807 / void UnlockPopup(int b, Action done)SrPopup("New: " + BoostName[b] + "!", BoostDesc[b] + "\nYou get " + BoostStart[b] + " for free!", Purple, Art(BoostArt[b]), ("Try it!", Lime, done));
Scripts/SnowRushGame.UI.cs:813 / void ShowSettingsPopup()var p = SrPopup("Settings", "", Blue, null,
Scripts/SnowRushGame.UI.cs:842 / void ShowHowToPage(int page)SrPopup(HowTitle[page] + " " + (page + 1) + "/" + HowTitle.Length, HowText[page], Purple, Art(HowArt[page]),
Scripts/SnowRushGame.UI.cs:846 / static string SoundLabel() => HzAudio.Muted ? "Sound: OFF" : "Sound: ON";static string SoundLabel() => HzAudio.Muted ? "Sound: OFF" : "Sound: ON";
Scripts/SnowRushGame.UI.cs:847 / static string MusicLabel() => HzAudio.MusicMuted ? "Music: OFF" : "Music: ON";static string MusicLabel() => HzAudio.MusicMuted ? "Music: OFF" : "Music: ON";
Scripts/SnowRushGame.cs:19 / declarationspublic override string Title => "Snowball Rush";
Scripts/SnowRushGame.cs:26 / declarationsstatic readonly string[] BoostName = { "Snow Boost", "Speed Skates", "Ice Shield", "Snow Cannon" };
Scripts/SnowRushGame.cs:142 / void IntroFlow(bool restart)_intro.Add(() => SrPopup("Level " + _playLevel, "Roll snow, build your bridge\nand beat the others to the finish!", Blue, Art("howto_roll"),
Scripts/SnowRushGame.cs:153 / void IntroFlow(bool restart)UnlockPopup(id, () => { if (HzSave.GetInt("snowrush_guided" + id, 0) == 0) StartGuide(id); else NextIntro(); });
Scripts/SnowRushGame.cs:165 / void IntroFlow(bool restart)SrPopup(mm.Title, mm.Text, Blue, Art(mm.Art), ("Got it!", Lime, (Action)NextIntro));
Scripts/SnowRushGame.cs:251 / void HandleEvents()if (shown < 3 || _tutStep > 0) { HzSave.SetInt("snowrush_nosnowtip", shown + 1); ShowTip("Out of snow! Go back and roll more.", 2.6f); }
Scripts/SnowRushGame.cs:287 / void OnKnock(int victim, int pusher)ShowTip("Bumped! A bigger ball knocked you over.", 2.2f);
Scripts/SnowRushGame.cs:301 / void OnGift()SrPopup("Snow Gift", "Watch an ad to fill\nyour snowball!", Blue, Art("gift"),
Scripts/SnowRushGame.cs:306 / void OnGift()if (ok && _w != null && !_ended) { _w.ClaimGift(); HzAudio.Play(Sfx.GiftClaim, 0.8f); PunchBall(); Toast("Snowball full!", Yellow, 1.2f, 0.62f); }
Scripts/SnowRushGame.cs:330 / void OnFinish(int racer)Toast(RacerName(winner) + " got there first!", Color.white, 1.6f, 0.62f);
Scripts/SnowRushGame.cs:334 / void OnFinish(int racer)var p = SrPopup("FAIL", RacerName(winner) + " won this race.\nRoll bigger balls and dodge\nthe bumps. Try again!", FailBlue, null,
Scripts/SnowRushGame.cs:345 / void OnFinish(int racer)if (_tutStep > 0) { _tutStep = 6; ShowTip("Throw! A bigger ball rolls farther.", 2.4f); }
Scripts/SnowRushGame.cs:368 / void WinPopup(int zone, int coins, int stars)var p = SrPopup("VICTORY!", "x" + zone + " zone +" + coins + " coins", VictoryRed, Art("win_badge"),
Scripts/SnowRushGame.cs:374 / void WinPopup(int zone, int coins, int stars)if (ok) { Wallet += coins; HzAudio.Play(Sfx.Coin, 0.8f); Toast("+" + coins + " coins!", Yellow, 1.3f, 0.62f); }
Scripts/SnowRushGame.cs:391 / void OnBooster(int b)if (!Unlocked(b)) { HzAudio.Play(Sfx.Wrong, 0.5f); Toast(BoostName[b] + " unlocks at level " + BoostUnlock[b], null, 1.4f, 0.62f); return; }
Scripts/SnowRushGame.cs:398 / void OnBooster(int b)if (p.Ball >= 0.999) { Toast("Your snowball is already full!", null, 1.2f, 0.62f); return; }
Scripts/SnowRushGame.cs:402 / void OnBooster(int b)if (_w.SkatesT > 0) { Toast("Skates are already on!", null, 1.2f, 0.62f); return; }
Scripts/SnowRushGame.cs:406 / void OnBooster(int b)if (_w.ShieldT > 0) { Toast("Shield is already up!", null, 1.2f, 0.62f); return; }
Scripts/SnowRushGame.cs:410 / void OnBooster(int b)if (!_w.BoostCannon()) { Toast("No lane left to build!", null, 1.2f, 0.62f); return; }
Scripts/SnowRushGame.cs:436 / void OutOfCharges(int b)if (ok) { SetCharges(b, Charges(b) + 1); HzAudio.Play(Sfx.Unlock, 0.6f); RefreshBoosters(); Toast("+1 " + BoostName[b], Yellow, 1.2f, 0.62f); }
Scripts/SnowRushGame.cs:441 / void OutOfCharges(int b)SrPopup("Out of " + BoostName[b], BoostDesc[b] + "\nYou have " + Wallet + " coins.", Blue, Art(BoostArt[b]), list.ToArray());
Scripts/SnowRushGame.cs:539 / int Arg(int i, int d) => parts.Length > i && int.TryParse(parts[i], NumberStyles.Integer, ci, out var v) ? v : d;case "settings": ShowSettingsPopup(); return "ok";
CHAPTER 11

Artwork, fonts, sound and licences

Replace actual images under Resources/snowrush/Art through Unity while retaining resource basenames, .meta GUIDs, Sprite/UI settings, alpha, pivots and slicing. Procedural fallback graphics in Art/View/Theme code may need separate changes. Keep all supplied font licence notices with their corresponding fonts in Kit/Resources/snowrush/kit/Fonts, and keep applicable TMP notices in HLK editions.

Effects are the supplied PCM WAV files in Sfx; supplied music, when present, is in Music. HzAudio loads extension-free resource keys. Preserve basenames, verify loop/import settings, and audition your own replacements. A Music toggle alone does not prove a music track is supplied; inspect this actual game folder. Lossless delivery format does not recreate quality absent in an original recording.

CHAPTER 12

Saving, resets and migrations

HzSave/PlayerPrefs store local progress, options and helper state. The actual calls below identify this game save keys and defaults; do not rename them during a visual reskin. WebGL persistence belongs to the hosting origin/browser storage, not a cloud account. Clearing site data or changing browser/origin starts separate local progress.

Test fresh progress, a completed level, helper consumption/refill, sound/music options, focus loss and relaunch. Reset only a dedicated test save. When changing a released schema, level order or key scheme, implement and test migration instead of discarding existing progress.

Actual save sourceCurrent call
Scripts/SnowRushGame.UI.cs:379 / void UpdateHud(bool punch)for (int l = 1; l <= Level && l < 400; l++) total += HzSave.GetInt("snowrush_stars" + l, 0);
Scripts/SnowRushGame.UI.cs:626 / void CompleteGuide(int b)HzSave.SetInt("snowrush_guided" + b, 1);
Scripts/SnowRushGame.cs:52 / declarationsint Wallet { get => HzSave.GetInt("snowrush_coins", 0); set => HzSave.SetInt("snowrush_coins", Mathf.Max(0, value)); }
Scripts/SnowRushGame.cs:53 / int Charges(int b) => HzSave.GetInt("snowrush_ch" + b, 0);int Charges(int b) => HzSave.GetInt("snowrush_ch" + b, 0);
Scripts/SnowRushGame.cs:54 / void SetCharges(int b, int n) => HzSave.SetInt("snowrush_ch" + b, Mathf.Max(0, n));void SetCharges(int b, int n) => HzSave.SetInt("snowrush_ch" + b, Mathf.Max(0, n));
Scripts/SnowRushGame.cs:59 / public override void DevGoToLevel(int n) { n = Mathf.Max(1, n); Level = n; HzSave.Flush(); LoadLevel(n); }public override void DevGoToLevel(int n) { n = Mathf.Max(1, n); Level = n; HzSave.Flush(); LoadLevel(n); }
Scripts/SnowRushGame.cs:119 / void Add(bool has, string key, string title, string text, string art)if (!has || HzSave.GetInt("snowrush_seen_" + key, 0) == 1) return;
Scripts/SnowRushGame.cs:139 / void IntroFlow(bool restart)bool tut = _def.tut > 0 && HzSave.GetInt("snowrush_tutdone", 0) == 0;
Scripts/SnowRushGame.cs:147 / void IntroFlow(bool restart)if (BoostUnlock[b] <= _playLevel && HzSave.GetInt("snowrush_seenb" + b, 0) == 0 && !HzDev.BoostersUnlocked)
Scripts/SnowRushGame.cs:150 / void IntroFlow(bool restart)HzSave.SetInt("snowrush_seenb" + id, 1);
Scripts/SnowRushGame.cs:153 / void IntroFlow(bool restart)UnlockPopup(id, () => { if (HzSave.GetInt("snowrush_guided" + id, 0) == 0) StartGuide(id); else NextIntro(); });
Scripts/SnowRushGame.cs:155 / void IntroFlow(bool restart)else if (!restart && _playLevel >= BoostUnlock[b] && HzSave.GetInt("snowrush_seenb" + b, 0) == 1 && HzSave.GetInt("snowrush_guided" + b, 0) == 0 && Charges(b) > 0)
Scripts/SnowRushGame.cs:164 / void IntroFlow(bool restart)HzSave.SetInt("snowrush_seen_" + mm.Key, 1);
Scripts/SnowRushGame.cs:250 / void HandleEvents()int shown = HzSave.GetInt("snowrush_nosnowtip", 0);
Scripts/SnowRushGame.cs:251 / void HandleEvents()if (shown < 3 || _tutStep > 0) { HzSave.SetInt("snowrush_nosnowtip", shown + 1); ShowTip("Out of snow! Go back and roll more.", 2.6f); }
Scripts/SnowRushGame.cs:346 / void OnFinish(int racer)HzSave.SetInt("snowrush_tutdone", 1);
Scripts/SnowRushGame.cs:354 / void OnFinish(int racer)int prevStars = HzSave.GetInt("snowrush_stars" + _playLevel, 0);
Scripts/SnowRushGame.cs:355 / void OnFinish(int racer)if (stars > prevStars) HzSave.SetInt("snowrush_stars" + _playLevel, stars);
Scripts/SnowRushGame.cs:358 / void OnFinish(int racer)HzSave.Flush();
Scripts/SnowRushGame.cs:490 / int Arg(int i, int d) => parts.Length > i && int.TryParse(parts[i], NumberStyles.Integer, ci, out var v) ? v : d;Level = n; HzSave.Flush(); LoadLevel(n);
Scripts/SnowRushGame.cs:569 / int Arg(int i, int d) => parts.Length > i && int.TryParse(parts[i], NumberStyles.Integer, ci, out var v) ? v : d;PlayerPrefs.DeleteAll(); PlayerPrefs.Save();
CHAPTER 13

Backend and advertising configuration

Settings asset: Assets/Szekipapa77SnowRush/HyperCasualLiveOpsKit/Resources/HLK/HLKSettings.asset. Shipping HLK defaults are Ads.Mode=0(Dummy) and IAP.Mode=3(Disabled). Retain these clean defaults when evaluating the template. Do not describe simulated banners/interstitials/rewarded callbacks as bundled AdMob or live revenue. To use a real service, install the appropriate external provider into your own project, configure your account/placement IDs, consent and testing, then deliberately select the production provider/mode. Disabled IAP must not be marketed as working real-money purchases.

Rewarded success, cancellation and failure are distinct; grant an earned reward once only. Test callbacks on supported hardware. A WebGL simulation does not prove native SDK delivery or production account approval. Keep service credentials outside delivered sources. The required game Kit, publisher-owned HyperCasual LiveOpsKit and TextMesh Pro resources are included. Ads ship in Dummy simulation and IAP is Disabled; external provider SDK binaries are excluded. Additional HLK example systems are reference content, not a claim that this game has every backend feature integrated.

CHAPTER 14

Android build, signing and release

  1. Install matching Android modules. Run the game Setup menu and select Android. Review Company=Szekipapa77, product title, application identifier com.szekipapa77.snowrush, version/code, orientation, icons, API targets, permissions and signing.
  2. Use the supplied Build Android menu or a reviewed Build Profile with the Mobile scene. The command writes Builds/Android/snowrush.apk. Require BuildResult.Succeeded and the final actual APK file.
  3. Use your own keystore for a commercial release; a test/demo signature is not a store release signature. Keep signing secrets outside the delivery.
  4. Play touch controls, tutorials, helper effects, safe areas, pause/resume, audio, save/relaunch and reward callbacks on supported hardware. A provider-free demo simulates ads; it does not validate a production provider account.
CHAPTER 15

WebGL build and HyperCodeStore hosting

Install WebGL Build Support and run Setup. The supplied Build WebGL command includes landscape and portrait scenes; preserve their order and the Kit/mobile query routing when adapting a page template. Scene orientation and outer browser size are separate. Output: Builds/WebGL/snowrush.

Deploy index.html and all matching loader/framework/data/WASM/StreamingAssets files over HTTP(S), never file://. Match compression, decompression fallback, MIME types and headers. The publisher demo belongs on HyperCodeStore, with the actual build uploaded. Verify a fresh anonymous load, real pointer controls, tutorial/helper effects, audio after interaction, save/reload and phone/desktop sizing. A 200 response alone is not gameplay verification; rebuild/rehost after accepted runtime changes.

CHAPTER 16

Troubleshooting

SymptomAction
Compilation failsRestore the matching packages and full required Kit/backend; fix the first Console error and avoid overlapping standalone game Kits.
Pink/invisible renderingRun Setup, inspect Graphics and every Quality URP asset, and preserve renderer/profile GUIDs.
No inputEnable classic input via Both, focus the canvas and close blocking modals. Use this game actual drag/tap/hold control.
Tool has no visible effectCheck unlock/charges and target preconditions; show activation and subsequent effect, not only a button animation.
Editor changes disappearStop Play, Save explicitly, reopen the bank and select the edited index. Generation may leave unsaved in-memory data.
Generated level failsReview this game schema, solver diagnostics, board/data relationships and range behavior; restore the backup if needed.
Text revertsEdit both construction and refresh assignments from the exact source table.
Resources missingRestore exact basenames/paths, importer settings, licence files and .meta GUIDs.
No live adsThe clean buyer excludes provider SDKs. Review actual Dummy/fallback mode and your own installed provider/account configuration.
Browser fails or progress resetsInspect Console/network/compression headers and storage/origin; this is local persistence, not cloud sync.

After source/data changes, repeat clean import, both scene tests, an early scene replacement, tutorial/ordinary win/retry, all helper effects and a saved-progress relaunch. Preserve owner-lifetime guards on delayed callbacks when extending the game.

CHAPTER 17

Support and release checklist

Publisher: Szekipapa77. Support: szekipapa77@gmail.com. Include Snowball Rush, exact Unity version, platform, first Console error and reproduction steps. Never send passwords, tokens or signing secrets.

  1. Clean-import the standalone project and native package into matching Unity/URP.
  2. Play both scenes and replace a scene shortly after startup.
  3. Verify the guided opening, ordinary success/retry, every helper activation/effect and save/relaunch.
  4. Work through the editor and concrete colour/text recipes in both layouts.
  5. Rebuild Android/WebGL after accepted changes; test your intended provider setup on supported hardware.
  6. Retain complete offline HTML/PDF documentation and applicable licences in the main download.
  7. Verify actual public showcase, HyperCodeStore browser demo, anonymously downloadable APK and documentation links before storefront submission.