unitysamples / LyraStarterGame /Plugins /GameSettings /Source /Private /Widgets /Responsive /GameResponsivePanelSlot.cpp
Download LyraStarterGame/Plugins/GameSettings/Source/Private/Widgets/Responsive/GameResponsivePanelSlot.cpp from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 934 Bytes
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Plugins/GameSettings/Source/Private/Widgets/Responsive/GameResponsivePanelSlot.cpp
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Plugins/GameSettings/Source/Private/Widgets/Responsive/GameResponsivePanelSlot.cpp
-
curl -L -o GameResponsivePanelSlot.cpp https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Plugins/GameSettings/Source/Private/Widgets/Responsive/GameResponsivePanelSlot.cpp
934 Bytes
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| ///////////////////////////////////////////////////// | |
| // UGameResponsivePanelSlot | |
| UGameResponsivePanelSlot::UGameResponsivePanelSlot(const FObjectInitializer& ObjectInitializer) | |
| : Super(ObjectInitializer) | |
| { | |
| Slot = nullptr; | |
| } | |
| void UGameResponsivePanelSlot::ReleaseSlateResources(bool bReleaseChildren) | |
| { | |
| Super::ReleaseSlateResources(bReleaseChildren); | |
| Slot = nullptr; | |
| } | |
| void UGameResponsivePanelSlot::BuildSlot(TSharedRef<SGameResponsivePanel> GameResponsivePanel) | |
| { | |
| Slot = &GameResponsivePanel->AddSlot() | |
| [ | |
| Content == nullptr ? SNullWidget::NullWidget : Content->TakeWidget() | |
| ]; | |
| } | |
| void UGameResponsivePanelSlot::SynchronizeProperties() | |
| { | |
| } | |