Files
projectlighthouse/Source/ProjectLighthouse/ProjectLighthouseGameMode.cpp
2024-06-02 18:10:57 +02:00

15 lines
483 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ProjectLighthouseGameMode.h"
#include "ProjectLighthouseCharacter.h"
#include "UObject/ConstructorHelpers.h"
AProjectLighthouseGameMode::AProjectLighthouseGameMode()
: Super()
{
// set default pawn class to our Blueprinted character
static ConstructorHelpers::FClassFinder<APawn> PlayerPawnClassFinder(TEXT("/Game/FirstPerson/Blueprints/BP_FirstPersonCharacter"));
DefaultPawnClass = PlayerPawnClassFinder.Class;
}