2022-05-23 18:41:30 +00:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
#include "CommonPreLoadScreen.h"
|
2022-09-13 07:18:28 +00:00
|
|
|
|
2022-05-23 18:41:30 +00:00
|
|
|
#include "CoreGlobals.h"
|
2022-09-13 07:18:28 +00:00
|
|
|
#include "Misc/App.h"
|
|
|
|
#include "SCommonPreLoadingScreenWidget.h"
|
|
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
2022-05-23 18:41:30 +00:00
|
|
|
|
|
|
|
#define LOCTEXT_NAMESPACE "CommonPreLoadingScreen"
|
|
|
|
|
|
|
|
void FCommonPreLoadScreen::Init()
|
|
|
|
{
|
|
|
|
if (!GIsEditor && FApp::CanEverRender())
|
|
|
|
{
|
|
|
|
EngineLoadingWidget = SNew(SCommonPreLoadingScreenWidget);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#undef LOCTEXT_NAMESPACE
|