registerStep

open fun registerStep(method: Any): StepTrigger

Registers a new trigger that runs in predictable intervals. (60 per second by default)

Passes through one argument:

  • Steps elapsed

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard