You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
36 lines
687 B
C++
36 lines
687 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AssetToolsPrivatePCH.h"
|
|
#include "AssetToolsModule.h"
|
|
#include "AssetToolsConsoleCommands.h"
|
|
|
|
IMPLEMENT_MODULE( FAssetToolsModule, AssetTools );
|
|
DEFINE_LOG_CATEGORY(LogAssetTools);
|
|
|
|
void FAssetToolsModule::StartupModule()
|
|
{
|
|
AssetTools = new FAssetTools();
|
|
ConsoleCommands = new FAssetToolsConsoleCommands(*this);
|
|
}
|
|
|
|
void FAssetToolsModule::ShutdownModule()
|
|
{
|
|
if (AssetTools != NULL)
|
|
{
|
|
delete AssetTools;
|
|
AssetTools = NULL;
|
|
}
|
|
|
|
if (ConsoleCommands != NULL)
|
|
{
|
|
delete ConsoleCommands;
|
|
ConsoleCommands = NULL;
|
|
}
|
|
}
|
|
|
|
IAssetTools& FAssetToolsModule::Get() const
|
|
{
|
|
check(AssetTools);
|
|
return *AssetTools;
|
|
}
|