You've already forked LuckyWorld
Optimizing WB_MainScreen
This commit is contained in:
@ -10,6 +10,14 @@ void UMainScreenUserWidget::NativeConstruct()
|
||||
{
|
||||
Super::NativeConstruct();
|
||||
InitData();
|
||||
|
||||
BPSendReadyJson();
|
||||
BPGetdataHTTP();
|
||||
if (ULuckyRobotsGameInstance* GameInstance = Cast<ULuckyRobotsGameInstance>(GetGameInstance()))
|
||||
{
|
||||
GameInstance->bIsFirstOpenGame = false;
|
||||
GameInstance->DoResolutionChange(bIsFullScreen);
|
||||
}
|
||||
}
|
||||
|
||||
void UMainScreenUserWidget::InitData()
|
||||
|
Reference in New Issue
Block a user