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;
|
||
|
}
|
||
|
}
|