e928b223c8
Added the third person starter content in the game so I can start making the 3rd person to 1st person switch mechanic.
16 lines
496 B
C++
16 lines
496 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "TP_ThirdPersonGameMode.h"
|
|
#include "TP_ThirdPersonCharacter.h"
|
|
#include "UObject/ConstructorHelpers.h"
|
|
|
|
ATP_ThirdPersonGameMode::ATP_ThirdPersonGameMode()
|
|
{
|
|
// set default pawn class to our Blueprinted character
|
|
static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("/Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter"));
|
|
if (PlayerPawnBPClass.Class != NULL)
|
|
{
|
|
DefaultPawnClass = PlayerPawnBPClass.Class;
|
|
}
|
|
}
|