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

Method BeforeRun

Source/Editor/Managed/ManagedEditor.cpp:271–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void ManagedEditor::BeforeRun()
272{
273 // If during last lightmaps baking engine crashed we could try to restore the progress
274 if (ShadowsOfMordor::Builder::Instance()->RestoreState())
275 GetClass()->GetMethod("Internal_StartLightingBake")->Invoke(GetOrCreateManagedInstance(), nullptr, nullptr);
276}
277
278void ManagedEditor::Update()
279{

Callers

nothing calls this directly

Calls 6

RestoreStateMethod · 0.80
InstanceClass · 0.50
GetClassFunction · 0.50
InvokeMethod · 0.45
GetMethodMethod · 0.45

Tested by

no test coverage detected