Persistent Time Tracker View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
2022.3.8 or later
Package size
8 KB
Files
6
Favorites
10
Views in the past week
1

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Persistent Time Tracker

by Aparat (opens in new tab)

1 rating, too few to average

Timer, that works in the background and also while the game is closed. Can be combined with chest opening system, where player might need to wait several hours or maybe days for it to open.

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Persistent Time Tracker, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 2

Persistent Time Tracker screenshot 1

Persistent Time Tracker screenshot 1

About this asset

How it works:

- This time tracker persists between scenes and runs in the background. It uses a single coroutine that is started immediatly 

  when the game is launched. 

- It saves time values to JSON file and updates the file each second. 

- The script keeps track of time, even When the game is closed, so when you close and reopen the game, 

  it will take into account how much time has passed in real life and subtract it from the remaining time.

- After remaining time reaches 0 it deletes that record from JSON file and removes from tracking list.

- Current implementation works like a Timer. It requires predefined time value and it decreases it by 1 second.

Peparation:

- Create empty or attach to existing GameObject the TimeTracker script. 

IMPORTANT! Make sure the GameObejct is not a child, because it uses DontDestroyOnLoad!

Usage:

- Use TimeTracker.Instance.StartTracking and pass in the required values to begin the time tracking.

From the publisher's Asset Store listing.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP
2022.3.8f1 Compatible Not listed Not listed

As listed on the Asset Store.