Commit 2fb10d3
committed
docs(samples): update PlaytimeReporter example to use WaitForSecondsRealtime
Changed the PlaytimeReporter coroutine in the Assets/Unity example to use WaitForSecondsRealtime instead of WaitForSeconds.
This ensures that playtime reporting continues even when the game is paused (Time.timeScale = 0).1 parent 600d945 commit 2fb10d3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments