22 lines
800 B
C++
22 lines
800 B
C++
// Copyright 2022 Just2Devs. All Rights Reserved.
|
|
|
|
#include "WidgetFunctionLibraryEditor.h"
|
|
#include "K2Node_WidgetConstructObjectDetailsCustomisation.h"
|
|
#include "PropertyEditorModule.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "FWidgetFunctionLibraryEditorModule"
|
|
|
|
void FWidgetFunctionLibraryEditorModule::StartupModule()
|
|
{
|
|
FPropertyEditorModule& PropertyModule = FModuleManager::LoadModuleChecked<FPropertyEditorModule>("PropertyEditor");
|
|
PropertyModule.RegisterCustomClassLayout(TEXT("K2Node_WidgetConstructObject"), FOnGetDetailCustomizationInstance::CreateStatic(&FK2Node_WidgetConstructObjectDetailsCustomisation::MakeInstance));
|
|
}
|
|
|
|
void FWidgetFunctionLibraryEditorModule::ShutdownModule()
|
|
{
|
|
}
|
|
|
|
#undef LOCTEXT_NAMESPACE
|
|
|
|
IMPLEMENT_MODULE(FWidgetFunctionLibraryEditorModule, WidgetFunctionLibraryEditor)
|