Env Rect Scripts Entry Points
Back
You can define these functions in your environment rect Lua scripts
and they will be called by the engine.
These functions are called during normal gameplay
in the Game Lua state.
Env rect Lua scripts are Lua scripts found in the EnvRects
directory (and its subdirectories) of your package.
Called During Main Game
void __on_touch();