GASATHON/Project/Source/Gasa/GasaPlayerController.h
2024-04-12 17:53:47 -04:00

35 lines
716 B
C++

#pragma once
#include "GasaCommon.h"
#include "GameFramework/PlayerController.h"
#include "GasaPlayerController.generated.h"
UCLASS(Blueprintable)
class GASA_API AGasaPlayerController : public APlayerController
{
GENERATED_BODY()
public:
#pragma region Input
UPROPERTY(EditAnywhere, Category="Input")
TObjectPtr<UInputMappingContext> IMC;
UPROPERTY(EditAnywhere, Category="Input")
TObjectPtr<UInputAction> IA_Move;
#pragma endregion Input
AGasaPlayerController();
void Move(FInputActionValue const& ActionValue);
#pragma region PlayerController
void SetupInputComponent() override;
#pragma endregion PlayerController
#pragma region Actor
void BeginPlay() override;
#pragma endregion Actor
};