Hyper-Casual Starter Kit

Everything you need to prototype hyper-casual games in hours — one-tap input, endless runner template, stack mechanic, score tracking, and swipe controls.

Setup
1. Import all scripts into your Unity project
2. Create a Player object and attach EndlessRunnerController (it adds the CharacterController it needs)
3. Set up lane positions and obstacle spawners in the inspector
4. Add TapInputHandler and SwipeInputController to a manager object
5. Attach ScoreManager and configure combo thresholds
6. Optionally add StackMechanic for a stacking mini-game mode

If something does not work
- The runner does not die on obstacles: EndlessRunnerController ends the run in OnTriggerEnter on objects tagged Obstacle. Create the Obstacle tag, tag your obstacles with it, and make their colliders triggers.
- Swipes work in the Editor but not on the phone, or the reverse: The input scripts read touches on device and fall back to the mouse in the Editor. Test gesture thresholds on a real phone; distances that feel right with a mouse are often too large for a thumb.
- The high score resets: ScoreManager stores the high score in PlayerPrefs. It survives restarts but not uninstalling the app, and a call to its reset method deletes it.
- Every input call throws InvalidOperationException in a new Unity 6 project: The scripts read the legacy Input class, which new Unity 6 projects switch off. Set Project Settings > Player > Active Input Handling to Both and let the Editor restart. Details and the Input System alternative.

Source: https://scriptsforunity.com/game-systems/hyper-casual-starter-kit/
License: MIT
