Flint Engine / Guide / API Reference

Module callbacks

Module callbacks 

Source
Expand description

Script callback name constants.

These match the Rhai function names that the engine dispatches to.

Constantsยง

ON_ACTION
ON_ANIMATION_END
ON_COLLISION
ON_COLLISION_EXIT
ON_DRAW_UI
ON_INIT
ON_INTERACT
ON_SCENE_ENTER
ON_SCENE_EXIT
ON_TRIGGER_ENTER
ON_TRIGGER_EXIT
ON_UPDATE