Check if a scene exists.
The progress of assets loading in background for a scene (between 0 and 1).
This is used by expressions to return 0 when a timer doesn't exist, because numeric expressions must always return a number.
The scene owning the timer.
The timer name.
The timer elapsed time in seconds or 0 if the timer doesn't exist.
This is used by conditions to return false when a timer doesn't exist, no matter the relational operator.
The scene owning the timer.
The timer name.
The timer elapsed time in seconds or NaN if the timer doesn't exist.
Check if the game has just resumed from being hidden
Preload a scene assets as soon as possible in background.
Test a timer elapsed time, if the timer doesn't exist it is created.
The scene owning the timer
The time value to check in seconds
The timer name
True if the timer exists and its value is greater than or equal than the given time, false otherwise
Generated using TypeDoc
Check if scene assets have finished to load in background.