Download LyraStarterGame/Source/LyraGame/UI/Foundation/LyraActionWidget.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 876 Bytes
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/UI/Foundation/LyraActionWidget.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/UI/Foundation/LyraActionWidget.h
-
curl -L -o LyraActionWidget.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/UI/Foundation/LyraActionWidget.h
876 Bytes
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class UEnhancedInputLocalPlayerSubsystem; | |
| class UInputAction; | |
| /** An action widget that will get the icon of key that is currently assigned to the common input action on this widget */ | |
| UCLASS(BlueprintType, Blueprintable) | |
| class ULyraActionWidget : public UCommonActionWidget | |
| { | |
| GENERATED_BODY() | |
| public: | |
| //~ Begin UCommonActionWidget interface | |
| virtual FSlateBrush GetIcon() const override; | |
| //~ End of UCommonActionWidget interface | |
| /** The Enhanced Input Action that is associated with this Common Input action. */ | |
| UPROPERTY(BlueprintReadOnly, EditAnywhere) | |
| const TObjectPtr<UInputAction> AssociatedInputAction; | |
| private: | |
| UEnhancedInputLocalPlayerSubsystem* GetEnhancedInputSubsystem() const; | |
| }; |