Created DefaultGameUserSettings.ini to set the default screen mode to Windowed. #37
8
Config/DefaultGameUserSettings.ini
Normal file
8
Config/DefaultGameUserSettings.ini
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[/Script/Engine.GameUserSettings]
|
||||||
|
Version=5
|
||||||
|
FullscreenMode=2
|
||||||
|
LastConfirmedFullscreenMode=2
|
||||||
|
ResolutionSizeX=1280
|
||||||
|
ResolutionSizeY=720
|
||||||
|
LastUserConfirmedResolutionSizeX=1280
|
||||||
|
LastUserConfirmedResolutionSizeY=720
|
@ -20,7 +20,7 @@ void UMainScreenUserWidget::NativeConstruct()
|
|||||||
if (GameInstance)
|
if (GameInstance)
|
||||||
{
|
{
|
||||||
GameInstance->bIsFirstOpenGame = false;
|
GameInstance->bIsFirstOpenGame = false;
|
||||||
GameInstance->DoResolutionChange(bIsFullScreen);
|
//GameInstance->DoResolutionChange(bIsFullScreen);
|
||||||
|
|
||||||
GameInstance->OnMessageDispatched.AddDynamic(this, &UMainScreenUserWidget::OnMessageDispatchedHandler);
|
GameInstance->OnMessageDispatched.AddDynamic(this, &UMainScreenUserWidget::OnMessageDispatchedHandler);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user