MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / onEngineUnloading

Function onEngineUnloading

Source/Engine/Scripting/Scripting.cpp:1185–1197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1183}
1184
1185void onEngineUnloading(MAssembly* assembly)
1186{
1187 // Clear flag
1188 _isEngineAssemblyLoaded = false;
1189
1190 // Clear cached methods
1191 _method_Update = nullptr;
1192 _method_LateUpdate = nullptr;
1193 _method_FixedUpdate = nullptr;
1194 _method_Exit = nullptr;
1195
1196 StdTypesContainer::Instance()->Clear();
1197}
1198
1199void ScriptingService::Dispose()
1200{

Callers 1

ReleaseMethod · 0.85

Calls 2

InstanceClass · 0.50
ClearMethod · 0.45

Tested by

no test coverage detected