You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#ue-11650 #ue4 #android #codereview Josh.Adams [CL 2590354 by Chris Babcock in Main branch]
33 lines
842 B
C++
33 lines
842 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AndroidRuntimeSettingsPrivatePCH.h"
|
|
|
|
#include "AndroidRuntimeSettings.h"
|
|
|
|
UAndroidRuntimeSettings::UAndroidRuntimeSettings(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
, Orientation(EAndroidScreenOrientation::Landscape)
|
|
, bEnableGooglePlaySupport(false)
|
|
{
|
|
|
|
}
|
|
|
|
#if WITH_EDITOR
|
|
void UAndroidRuntimeSettings::PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent)
|
|
{
|
|
Super::PostEditChangeProperty(PropertyChangedEvent);
|
|
|
|
// Ensure that at least one architecture is supported
|
|
if (!bBuildForArmV7 && !bBuildForX86 && !bBuildForX8664)// && !bBuildForArm64)
|
|
{
|
|
bBuildForArmV7 = true;
|
|
}
|
|
|
|
// Ensure that at least one GPU architecture is supported
|
|
if (!bBuildForES2 && !bBuildForES31)
|
|
{
|
|
bBuildForES2 = true;
|
|
}
|
|
}
|
|
#endif
|