| 41 | } |
| 42 | |
| 43 | void 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 | |
| 56 | void EditorPlugin::Deinitialize() |
| 57 | { |
no test coverage detected