Profectus / features/reset / trackResetTime
Function: trackResetTime() ​
trackResetTime(
layer
,reset
):Persistent
<default
>
Track the time since the specified reset last occured.
Parameters ​
layer ​
The layer the reset is attached to
reset ​
The reset mechanic to track the time since