class
ScriptManager
Handles initialization of a scripting system.
Public
Constructors
ScriptManager
Methods
~ScriptManager
Update
Called once per frame.
Reload
Reloads any scripts in the currently active library.
Should be called after some change to the scripts was made (for example project was changed, or scripts were recompiled).
staticSetScriptLibrary
Sets the active script library that controls what kind and which scripts are loaded.
Must be called before the module is started up.
staticGetScriptLibrary
Returns the currently assigned script library.
staticInstance
Returns a reference to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticInstancePtr
Returns a pointer to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticShutDown
Shuts down this module and frees any resources it is using.
staticIsStarted
Query if the module has been started.
Protected
Methods
~Module<T>
OnStartUp
Override if you want your module to be notified once it has been constructed and started.
OnShutDown
Override if you want your module to be notified just before it is deleted.
staticInstanceInternal
Returns a singleton instance of this module.