Download LyraStarterGame/Source/LyraGame/Hotfix/LyraTextHotfixConfig.cpp from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/Hotfix/LyraTextHotfixConfig.cpp
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/Hotfix/LyraTextHotfixConfig.cpp
-
curl -L -o LyraTextHotfixConfig.cpp https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/Hotfix/LyraTextHotfixConfig.cpp
1.03 kB
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| ULyraTextHotfixConfig::ULyraTextHotfixConfig(const FObjectInitializer& ObjectInitializer) | |
| : Super(ObjectInitializer) | |
| { | |
| } | |
| void ULyraTextHotfixConfig::ApplyTextReplacements() const | |
| { | |
| FTextLocalizationManager::Get().RegisterPolyglotTextData(TextReplacements); | |
| } | |
| void ULyraTextHotfixConfig::PostInitProperties() | |
| { | |
| Super::PostInitProperties(); | |
| ApplyTextReplacements(); | |
| } | |
| void ULyraTextHotfixConfig::PostReloadConfig(FProperty* PropertyThatWasLoaded) | |
| { | |
| Super::PostReloadConfig(PropertyThatWasLoaded); | |
| ApplyTextReplacements(); | |
| } | |
| void ULyraTextHotfixConfig::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) | |
| { | |
| Super::PostEditChangeProperty(PropertyChangedEvent); | |
| ApplyTextReplacements(); | |
| } | |