You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
33 lines
982 B
C++
33 lines
982 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "NiagaraEditorPrivatePCH.h"
|
|
#include "ModuleManager.h"
|
|
#include "Toolkits/ToolkitManager.h"
|
|
|
|
IMPLEMENT_MODULE( FNiagaraEditorModule, NiagaraEditor );
|
|
|
|
|
|
const FName FNiagaraEditorModule::NiagaraEditorAppIdentifier( TEXT( "NiagaraEditorApp" ) );
|
|
|
|
void FNiagaraEditorModule::StartupModule()
|
|
{
|
|
MenuExtensibilityManager = MakeShareable(new FExtensibilityManager);
|
|
ToolBarExtensibilityManager = MakeShareable(new FExtensibilityManager);
|
|
}
|
|
|
|
|
|
void FNiagaraEditorModule::ShutdownModule()
|
|
{
|
|
MenuExtensibilityManager.Reset();
|
|
ToolBarExtensibilityManager.Reset();
|
|
}
|
|
|
|
|
|
TSharedRef<INiagaraEditor> FNiagaraEditorModule::CreateNiagaraEditor( const EToolkitMode::Type Mode, const TSharedPtr< IToolkitHost >& InitToolkitHost, UNiagaraScript* Script )
|
|
{
|
|
TSharedRef< FNiagaraEditor > NewNiagaraEditor( new FNiagaraEditor() );
|
|
NewNiagaraEditor->InitNiagaraEditor( Mode, InitToolkitHost, Script );
|
|
return NewNiagaraEditor;
|
|
}
|
|
|