Illusion-UE5/hwanyoung2/Source/hwanyoung2/hwanyoung2GameMode.cpp
2023-10-09 19:37:22 -04:00

16 lines
480 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "hwanyoung2GameMode.h"
#include "hwanyoung2Character.h"
#include "UObject/ConstructorHelpers.h"
Ahwanyoung2GameMode::Ahwanyoung2GameMode()
{
// 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;
}
}