| 12345678910111213141516171819202122232425262728293031 |
- // Copyright 2016 Chris Conway (Koderz). All Rights Reserved.
- #include "RuntimeMeshComponentEditorPrivatePCH.h"
- class FRuntimeMeshComponentEditorPlugin : public IRuntimeMeshComponentEditorPlugin
- {
- /** IModuleInterface implementation */
- virtual void StartupModule() override;
- virtual void ShutdownModule() override;
- };
- IMPLEMENT_MODULE( FRuntimeMeshComponentEditorPlugin, RuntimeMeshComponentEditor )
- void FRuntimeMeshComponentEditorPlugin::StartupModule()
- {
- {
- FPropertyEditorModule& PropertyModule = FModuleManager::LoadModuleChecked<FPropertyEditorModule>("PropertyEditor");
- PropertyModule.RegisterCustomClassLayout(URuntimeMeshComponent::StaticClass()->GetFName(), FOnGetDetailCustomizationInstance::CreateStatic(&FRuntimeMeshComponentDetails::MakeInstance));
- }
- }
- void FRuntimeMeshComponentEditorPlugin::ShutdownModule()
- {
-
- }
|