ProjectM/Source/ProjectT/System/Lobby/GameModes/LobbyPawn.h

34 lines
783 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "LobbyPawn.generated.h"
UCLASS()
class PROJECTT_API ALobbyPawn : public APawn
{
GENERATED_BODY()
public:
// Sets default values for this pawn's properties
ALobbyPawn();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
// Called to bind functionality to input
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Camera")
TObjectPtr<class UCoreCameraComponent> LobbyPawnCamera;
};