Entry point for the Ignite scripting module. More...
#include <Ignite.h>
Static Public Member Functions | |
| static void | Init (const std::string &path) |
| Loads the script DLL at the given path and registers all script types. | |
| static void | Shutdown () |
| Unloads all script modules and clears the type registry. | |
Entry point for the Ignite scripting module.
Provides a minimal facade over ScriptRegistry for initialisation and teardown. Call Init once when a project is opened and Shutdown before the engine exits or the project is closed.
|
static |
Loads the script DLL at the given path and registers all script types.
Internally delegates to ScriptRegistry::LoadModule. A file watcher is installed so that subsequent builds of the DLL trigger an automatic hot-reload.
| path | Absolute path to the compiled script DLL. |
|
static |
Unloads all script modules and clears the type registry.
Must be called after all ScriptRuntime::OnRuntimeStop calls have completed so that no live script instances remain.