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

Function onEngineLoaded

Source/Engine/Scripting/Scripting.cpp:1173–1183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1171}
1172
1173void onEngineLoaded(MAssembly* assembly)
1174{
1175 PROFILE_MEM(Scripting);
1176 if (initFlaxEngine())
1177 {
1178 LOG(Fatal, "Failed to initialize Flax Engine runtime.");
1179 }
1180
1181 // Set flag
1182 _isEngineAssemblyLoaded = true;
1183}
1184
1185void onEngineUnloading(MAssembly* assembly)
1186{

Callers 1

LoadMethod · 0.85

Calls 1

initFlaxEngineFunction · 0.85

Tested by

no test coverage detected