2014-03-14 14:13:41 -04:00
|
|
|
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#include "IOSRuntimeSettingsPrivatePCH.h"
|
|
|
|
|
|
|
|
|
|
#include "IOSRuntimeSettings.h"
|
|
|
|
|
|
|
|
|
|
UIOSRuntimeSettings::UIOSRuntimeSettings(const class FPostConstructInitializeProperties& PCIP)
|
|
|
|
|
: Super(PCIP)
|
|
|
|
|
{
|
|
|
|
|
bEnableGameCenterSupport = true;
|
|
|
|
|
bSupportsPortraitOrientation = true;
|
2014-07-22 16:43:18 -04:00
|
|
|
BundleDisplayName = TEXT("UE4 Game");
|
|
|
|
|
BundleName = TEXT("MyUE4Game");
|
|
|
|
|
BundleIdentifier = TEXT("com.YourCompany.GameNameNoSpaces");
|
|
|
|
|
VersionInfo = TEXT("1.0.0");
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if WITH_EDITOR
|
|
|
|
|
void UIOSRuntimeSettings::PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent)
|
|
|
|
|
{
|
|
|
|
|
Super::PostEditChangeProperty(PropertyChangedEvent);
|
|
|
|
|
|
|
|
|
|
// Ensure that at least one orientation is supported
|
|
|
|
|
if (!bSupportsPortraitOrientation && !bSupportsUpsideDownOrientation && !bSupportsLandscapeLeftOrientation && !bSupportsLandscapeRightOrientation)
|
|
|
|
|
{
|
|
|
|
|
bSupportsPortraitOrientation = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|