class EditorScriptLibrary

Handles initialization/shutdown of the script systems and loading/refresh of engine and editor-specific assemblies.

Public

Constructors

EditorScriptLibrary

EditorScriptLibrary()

Methods

Initialize

void Initialize() override

Called when the script system is being activated.

Update

void Update() override

Called once per frame.

Reload

void Reload() override

Called when the script libraries should be reloaded (for example when they are recompiled).

Destroy

void Destroy() override

Called when the script system is being destroyed.

GetScriptAssemblyFolder

Path GetScriptAssemblyFolder() const override

Returns the absolute path to the folder where script assemblies are located in.

GetEditorAssemblyPath

Path GetEditorAssemblyPath() const override

Returns the absolute path to the built-in managed editor assembly file.

GetEditorAssemblyName

const char *GetEditorAssemblyName() const override

Returns the name of the assembly that wraps built-in editor functionality, without extension.

GetEditorScriptAssemblyPath

Path GetEditorScriptAssemblyPath() const override

Returns the absolute path of the managed editor script assembly file.

GetScriptEditorAssemblyName

const char *GetScriptEditorAssemblyName() const override

Returns the name of the assembly that wraps user implemented editor functionality, without extension.

staticInstance

static EditorScriptLibrary &Instance()

Returns the singleton instance of this library.

Private

Fields

mScriptAssembliesLoaded

bool mScriptAssembliesLoaded

mQuitRequestedEvent

HEvent mQuitRequestedEvent