Timer now....
-
OK, I want a timer so in my init I've said this:
const var presetTimer = Engine.createTimerObject();
later in my onControl I've said this:
presetTimer.startTimer(1000);
but nothing is happening in the onTimer call back
I'm doing something wrong again clearly...any ideas?
-
@Lindon Let's see your timer callback. If possible post a minimal example snippet.
-
This timer is running on the UI thread and you need to supply a function that is executed.
The onTimer callback is for audio stuff.
-
@Christoph-Hart OK right that'd be why then... is there some documentation that explains this?