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

Method OnAppExit

Source/Editor/Managed/ManagedEditor.cpp:489–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487}
488
489bool ManagedEditor::OnAppExit()
490{
491 if (!HasManagedInstance())
492 return true;
493 if (Internal_OnAppExit == nullptr)
494 {
495 Internal_OnAppExit = GetClass()->GetMethod("Internal_OnAppExit");
496 ASSERT(Internal_OnAppExit);
497 }
498 return MUtils::Unbox<bool>(Internal_OnAppExit->Invoke(GetManagedInstance(), nullptr, nullptr));
499}
500
501void ManagedEditor::RequestStartPlayOnEditMode()
502{

Callers 1

RequestExitMethod · 0.80

Calls 5

HasManagedInstanceFunction · 0.50
GetClassFunction · 0.50
GetManagedInstanceFunction · 0.50
GetMethodMethod · 0.45
InvokeMethod · 0.45

Tested by

no test coverage detected