Download LyraStarterGame/Source/LyraGame/Character/LyraPawnData.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 1.78 kB
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/Character/LyraPawnData.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/Character/LyraPawnData.h
-
curl -L -o LyraPawnData.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/Character/LyraPawnData.h
1.78 kB
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class APawn; | |
| class ULyraAbilitySet; | |
| class ULyraAbilityTagRelationshipMapping; | |
| class ULyraCameraMode; | |
| class ULyraInputConfig; | |
| class UObject; | |
| /** | |
| * ULyraPawnData | |
| * | |
| * Non-mutable data asset that contains properties used to define a pawn. | |
| */ | |
| UCLASS(MinimalAPI, BlueprintType, Const, Meta = (DisplayName = "Lyra Pawn Data", ShortTooltip = "Data asset used to define a Pawn.")) | |
| class ULyraPawnData : public UPrimaryDataAsset | |
| { | |
| GENERATED_BODY() | |
| public: | |
| UE_API ULyraPawnData(const FObjectInitializer& ObjectInitializer); | |
| public: | |
| // Class to instantiate for this pawn (should usually derive from ALyraPawn or ALyraCharacter). | |
| UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Lyra|Pawn") | |
| TSubclassOf<APawn> PawnClass; | |
| // Ability sets to grant to this pawn's ability system. | |
| UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Lyra|Abilities") | |
| TArray<TObjectPtr<ULyraAbilitySet>> AbilitySets; | |
| // What mapping of ability tags to use for actions taking by this pawn | |
| UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Lyra|Abilities") | |
| TObjectPtr<ULyraAbilityTagRelationshipMapping> TagRelationshipMapping; | |
| // Input configuration used by player controlled pawns to create input mappings and bind input actions. | |
| UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Lyra|Input") | |
| TObjectPtr<ULyraInputConfig> InputConfig; | |
| // Default camera mode used by player controlled pawns. | |
| UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Lyra|Camera") | |
| TSubclassOf<ULyraCameraMode> DefaultCameraMode; | |
| }; | |