jumping-ship/Source/jumpingship/jumpingshipGameMode.cpp

16 lines
488 B
C++
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
#include "jumpingshipGameMode.h"
#include "jumpingshipCharacter.h"
#include "UObject/ConstructorHelpers.h"
AjumpingshipGameMode::AjumpingshipGameMode()
{
// set default pawn class to our Blueprinted character
2023-11-11 05:23:09 +01:00
static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("/Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacterJoel"));
if (PlayerPawnBPClass.Class != NULL)
{
DefaultPawnClass = PlayerPawnBPClass.Class;
}
}