Nelaric Unreal Gameplay
Gameplay framework API
Loading...
Searching...
No Matches
NelaricPawn.h
Go to the documentation of this file.
1// Copyright (c) 2026 Nelaric
2
6
7#pragma once
8
9#include "GameFramework/Pawn.h"
10
11#include "NelaricPawn.generated.h"
12
13class UPawnInitializationComponent;
14
15namespace Nelaric::Pawn
16{
17struct FInitializationHelper;
18}
19
26UCLASS(MinimalAPI, Blueprintable)
27class ANelaricPawn : public APawn
28{
29 GENERATED_BODY()
30
31public:
37 GAMEPLAYRUNTIME_API ANelaricPawn(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
38
39protected:
41 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Nelaric|Pawn|Initialization")
42 TObjectPtr<UPawnInitializationComponent> PawnInitializationComponent;
43
44private:
45 friend struct Nelaric::Pawn::FInitializationHelper;
46};
TObjectPtr< UPawnInitializationComponent > PawnInitializationComponent
Initialization component owned by this pawn.
Definition NelaricPawn.h:42
GAMEPLAYRUNTIME_API ANelaricPawn(const FObjectInitializer &ObjectInitializer=FObjectInitializer::Get())
Constructs the pawn with the engine's default behavior.