Idle Game System

Core systems for idle/incremental games — passive income generation, offline earnings, upgrade progression, number formatting, and responsive mobile UI.

Setup
1. Import all scripts into your Unity project
2. Add IdleIncomeGenerator to a persistent manager object
3. Configure income sources, base rates, and upgrade costs in the inspector
4. Attach ScoreManager to track currency and high scores
5. Add MobileResponsiveScaler to your root Canvas for adaptive UI layout

If something does not work
- Offline earnings are not paid out: IdleIncomeGenerator saves the quit time in PlayerPrefs from OnApplicationPause and OnApplicationQuit, and pays the difference on the next start. Stopping Play mode in the Editor may skip the pause event; test offline earnings in a build.
- The UI layout breaks on tablets: Put MobileResponsiveScaler on the root Canvas that has the CanvasScaler. It adjusts the scaler's width-height match from the screen shape, so anchor UI elements to corners and edges rather than placing them by absolute position.

Source: https://scriptsforunity.com/game-systems/idle-game-system/
License: MIT
