I embed Lua in a C ++ application.
I have some modules (currently simple .lua scripts) that I want to download programmatically when the engine starts, so when the engine starts, the module (s) is available / accessible for scripts without including them in "
To do this, I need to be able programmatically (i.e. the end of C ++) to ask the engine to load modules as part of the initialization (or shortly after).
Does anyone know how I can do this?
source
share