AzureAbyss/Source/the_twilight_abyss/TP_ThirdPerson/TP_ThirdPersonGameMode.cpp

16 lines
496 B
C++
Raw Normal View History

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