Example (Timer) -
let _timer = 90;
let _stateTimer = 0;
App.onUpdate.Add(function(dt){
_stateTimer += dt;
if(_stateTimer >= 1){
_stateTimer = 0;
_timer -= 1;
}
**if(_timer <= 0){**
// time over then...
}
})
<aside> ⬅️ 예제코드
</aside>