unitysamples / LyraStarterGame /Plugins /CommonLoadingScreen /Source /CommonStartupLoadingScreen /Private /CommonPreLoadScreen.cpp
Download LyraStarterGame/Plugins/CommonLoadingScreen/Source/CommonStartupLoadingScreen/Private/CommonPreLoadScreen.cpp from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Plugins/CommonLoadingScreen/Source/CommonStartupLoadingScreen/Private/CommonPreLoadScreen.cpp
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Plugins/CommonLoadingScreen/Source/CommonStartupLoadingScreen/Private/CommonPreLoadScreen.cpp
-
curl -L -o CommonPreLoadScreen.cpp https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Plugins/CommonLoadingScreen/Source/CommonStartupLoadingScreen/Private/CommonPreLoadScreen.cpp
395 Bytes
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| void FCommonPreLoadScreen::Init() | |
| { | |
| if (!GIsEditor && FApp::CanEverRender()) | |
| { | |
| EngineLoadingWidget = SNew(SCommonPreLoadingScreenWidget); | |
| } | |
| } | |