Files
BladeSmith/Source/BladeSmith/BladeSmithGameMode.cpp
T
2025-06-19 00:37:06 +08:00

15 lines
455 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "BladeSmithGameMode.h"
#include "BladeSmithCharacter.h"
#include "UObject/ConstructorHelpers.h"
ABladeSmithGameMode::ABladeSmithGameMode()
: Super()
{
// set default pawn class to our Blueprinted character
static ConstructorHelpers::FClassFinder<APawn> PlayerPawnClassFinder(TEXT("/Game/FirstPerson/Blueprints/BP_FirstPersonCharacter"));
DefaultPawnClass = PlayerPawnClassFinder.Class;
}