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

Method Initialize

Source/Engine/Scripting/Plugins/PluginManager.cpp:43–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void EditorPlugin::Initialize()
44{
45 Plugin::Initialize();
46
47 MObject* exception = nullptr;
48 TypeInitializer.GetType().ManagedClass->GetMethod("Initialize_Internal")->Invoke(GetOrCreateManagedInstance(), nullptr, &exception);
49 if (exception)
50 {
51 MException ex(exception);
52 ex.Log(LogType::Error,TEXT("EditorPlugin"));
53 }
54}
55
56void EditorPlugin::Deinitialize()
57{

Callers 1

InvokeInitializeMethod · 0.45

Calls 6

InitializeFunction · 0.70
InvokeMethod · 0.45
GetMethodMethod · 0.45
GetTypeMethod · 0.45
LogMethod · 0.45

Tested by

no test coverage detected