• 카테고리

    질문 & 답변
  • 세부 분야

    게임 프로그래밍

  • 해결 여부

    미해결

안녕하세요. 질문이 있습니다.

23.08.31 10:04 작성 조회수 411

0

강의 내용대로 따라하고 있는데 'Player Controller Class' 부분이 변경 되지 않는데 왜 그런걸까요.

ABPlayerController.cpp 파일 내용입니다.

#include "Player/ABPlayerController.h"

void AABPlayerController::BeginPlay()

{

Super::BeginPlay();

FInputModeGameOnly GameOnlyInputMode;

SetInputMode(GameOnlyInputMode);

}

ABPlayerController.h 파일 내용입니다.

#pragma once

#include "CoreMinimal.h"

#include "GameFramework/PlayerController.h"

#include "ABPlayerController.generated.h"

/**

*

*/

UCLASS()

class ARENABATTLE_API AABPlayerController : public APlayerController

{

GENERATED_BODY()

protected:

virtual void BeginPlay() override;

};

 

답변 1

답변을 작성해보세요.

0

안녕하세요.

Player Controller Class란 게임 모드의 플레이어 컨트롤러 클래스를 이야기하는 걸까요?

해당 코드는 ABGameMode의 생성자를 보여주셔야 할 것 같네요.