registerRenderDebug

open fun registerRenderDebug(method: Any): EventTrigger

Registers a trigger that runs before the debug screen is being drawn.

Passes through one argument:

  • The render event, which can be cancelled

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard