Offline Income Module OFFICIAL SALE

Offline Income Module is a complete, ready-to-use system for adding idle / offline rewards to any Unity game.
Perfect for tycoons, clickers, simulation, farming, RPGs, and any game that rewards players for returning.

This module handles everything automatically:
✔ tracking real offline time
✔ calculating income for multiple resources
✔ generating a clean popup UI
✔ handling Collect and Collect-With-Multiplier
✔ preventing stacking/cheating
✔ firing UnityEvents
✔ simulating offline time for testing
✔ and saving the last play session

Designed to be simple, modular, and flexible — drop it into your project and customize it as needed.

Key Features

True Offline Time Tracking

  • Calculates real-world time between sessions using UTC timestamps
  • Supports max offline hours (anti-exploit)
  • Optional enable/disable switch for unlocking idle later in your game

Supports Multiple Resources

Each resource has:

  • ID
  • Icon
  • incomePerSecond
  • currentAmount
  • optional reward multiplier
  • auto-formatted values (K, M, B)

Prefab based Idle Popup

  • Clean prefab-based popup
  • Instantiates rows: icon + name + gained amount
  • Collect button
  • Collect xN button (x2 / x3 / x5 etc.)
  • Smooth scale animations

Multiplier Support

Each resource can define its own multiplier.
If none is defined, a global default multiplier is used.

Anti-Cheat Pending System

  • If a player closes the game without collecting, the pending reward is shown again
  • No new offline income accumulates until they collect
  • Prevents stacking exploits

Debug Tools Included

A complete debug panel with:

  • Resource list
  • Add buttons
  • Value display
  • Offline time simulation buttons (10m, 30m, 1h, 4h, 8h)
  • Context menu tools for instant testing

Simulation Mode

Test offline income instantly without waiting:

  • ForceAddOfflineSeconds()
  • UI buttons
  • Editor context menu tools

UnityEvents for Analytics

Events fired when:

  • offline reward is ready
  • collected
  • collected with multiplier

Easily hook into Firebase, AppsFlyer, Unity Analytics, etc.

Fully Documented

Includes a clear, step-by-step README and clean code with comments.