Project creation
This commit is contained in:
15
Source/puzzleisland/puzzleislandGameMode.cpp
Normal file
15
Source/puzzleisland/puzzleislandGameMode.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#include "puzzleislandGameMode.h"
|
||||
#include "puzzleislandCharacter.h"
|
||||
#include "UObject/ConstructorHelpers.h"
|
||||
|
||||
ApuzzleislandGameMode::ApuzzleislandGameMode()
|
||||
{
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user